@wiko/errors
Version:
Throw, identify, and decode Wiko JavaScript errors
16 lines • 489 B
TypeScript
/**
* To add a new error, follow the instructions at
* https://github.com/wiko-labs/kit/tree/main/packages/errors#adding-a-new-error
*
* WARNING:
* - Don't change the meaning of an error message.
*/
import { WikoErrorCode } from './codes';
/**
* A map of every {@link WikoError} code to the error message shown to developers in development
* mode.
*/
export declare const WikoErrorMessages: Readonly<{
[P in WikoErrorCode]: string;
}>;
//# sourceMappingURL=messages.d.ts.map