UNPKG

@casual-simulation/aux-runtime

Version:
31 lines 724 B
export interface GenericError { /** * The error code. */ errorCode: string; /** * The error message. */ errorMessage: string; } /** * Defines a class that represents a generic CasualOS error. * * @dochash types/error * @doctitle Error Types * @docsidebar Error * @docdescription Types that contain information about errors that can occur in CasualOS. * @docname CasualOSError */ export declare class CasualOSError extends Error { /** * The error code that occurred. */ errorCode: string; /** * The error message that occurred. */ errorMessage: string; constructor(error: GenericError | string); } //# sourceMappingURL=CasualOSError.d.ts.map