/** * @readonly * @enum {0 | 1 | 2} ErrorCode * @property {0} NotAllowed - Playing audio is not allowed by your system * @property {1} InvalidMedia - You provided an invalid media or the url is invalid * @property {2} Other - An unknown has occured * @memberof { import("./AudioPlayerManager").AudioPlayerManager } */ export declare enum AudioErrorCode { NotAllowed = 0, InvalidMedia = 1, Other = 2 } /** * Audio Player error. This is the error type that you receive when the {@link import("./AudioPlayerManager").ErrorHandler ErrorHandler function} is invoked * * @readonly * @typedef {object} Error * @extends Error * @property {AudioErrorCode} code - Error code * @memberof { import("./AudioPlayerManager").AudioPlayerManager } */ export interface AudioPlayerError extends Error { code: AudioErrorCode; }