UNPKG

@storm-stack/errors

Version:

This package includes a base error class and various utility functions for working with errors.

15 lines (14 loc) 365 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorType = void 0; const ErrorType = exports.ErrorType = { EXCEPTION: "exception", NOT_FOUND: "not_found", VALIDATION: "validation", SERVICE_UNAVAILABLE: "service_unavailable", ACTION_UNSUPPORTED: "action_unsupported", SECURITY: "security", UNKNOWN: "unknown" };