/** * Adding a `code` string with a custom status code for every * exception is a good practice, since when that exception * is transferred to another process `instanceof` check * cannot be performed anymore so a `code` string is used instead. * code constants can be stored in a separate file so they * can be shared and reused on a receiving side (code sharing is * useful when developing fullstack apps or microservices) */ export declare const ARGUMENT_INVALID = "GENERIC.ARGUMENT_INVALID"; export declare const ARGUMENT_OUT_OF_RANGE = "GENERIC.ARGUMENT_OUT_OF_RANGE"; export declare const ARGUMENT_NOT_PROVIDED = "GENERIC.ARGUMENT_NOT_PROVIDED"; export declare const NOT_FOUND = "GENERIC.NOT_FOUND"; export declare const CONFLICT = "GENERIC.CONFLICT"; export declare const VALIDATION_FAILURE = "GENERIC.VALIDATION_FAILURE"; export declare const INTERNAL_SERVER_ERROR = "GENERIC.INTERNAL_SERVER_ERROR"; export declare const ADAPTER_ERROR = "GENERIC.ADAPTER_ERROR"; //# sourceMappingURL=exception.codes.d.ts.map