/** * Base error class for all MSG91 SDK errors */ export declare class Msg91Error extends Error { readonly code?: string | undefined; readonly statusCode?: number | undefined; constructor(message: string, code?: string | undefined, statusCode?: number | undefined); } /** * Error thrown when the MSG91 API returns an error response */ export declare class Msg91ApiError extends Msg91Error { readonly requestId?: string | undefined; constructor(message: string, statusCode?: number, requestId?: string | undefined); } /** * Error thrown for input validation failures */ export declare class Msg91ValidationError extends Msg91Error { readonly field?: string | undefined; constructor(message: string, field?: string | undefined); } /** * Error thrown for network/connection issues */ export declare class Msg91NetworkError extends Msg91Error { constructor(message: string); } /** * Error thrown when rate limited by MSG91 API */ export declare class Msg91RateLimitError extends Msg91Error { constructor(message: string, statusCode: number); } /** * Error thrown for configuration issues */ export declare class Msg91ConfigError extends Msg91Error { constructor(message: string); } //# sourceMappingURL=errors.d.ts.map