@zudojs/errors 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/base/core/baseError.core.d.ts +6 -1
- package/dist/base/core/baseError.core.js +6 -1
- package/dist/base/core/baseError.serialize.d.ts +0 -1
- package/dist/base/core/baseError.serialize.js +0 -1
- package/dist/base/core/errorCause.redact.d.ts +0 -1
- package/dist/base/core/errorCause.redact.js +0 -1
- package/dist/base/core/errorMetadata.core.d.ts +0 -1
- package/dist/base/core/errorMetadata.core.js +0 -1
- package/dist/base/core/errorMetadata.type.d.ts +0 -1
- package/dist/base/core/errorMetadata.type.js +0 -1
- package/dist/base/core/index.d.ts +0 -1
- package/dist/base/core/index.js +0 -1
- package/dist/base/index.d.ts +0 -1
- package/dist/base/index.js +0 -1
- package/dist/base/types/baseError.type.d.ts +6 -1
- package/dist/base/types/baseError.type.js +0 -1
- package/dist/base/types/errorCategory.enum.d.ts +0 -1
- package/dist/base/types/errorCategory.enum.js +0 -1
- package/dist/base/types/errorCategory.helpers.d.ts +0 -1
- package/dist/base/types/errorCategory.helpers.js +0 -1
- package/dist/base/types/errorCategory.type.d.ts +0 -1
- package/dist/base/types/errorCategory.type.js +0 -1
- package/dist/base/types/errorCode.type.d.ts +0 -1
- package/dist/base/types/errorCode.type.js +0 -1
- package/dist/base/types/errorSeverity.type.d.ts +0 -1
- package/dist/base/types/errorSeverity.type.js +0 -1
- package/dist/base/types/index.d.ts +0 -1
- package/dist/base/types/index.js +0 -1
- package/dist/base/utils/baseError.utils.d.ts +0 -1
- package/dist/base/utils/baseError.utils.js +0 -1
- package/dist/base/utils/index.d.ts +0 -1
- package/dist/base/utils/index.js +0 -1
- package/dist/domain/access/authError.base.d.ts +0 -1
- package/dist/domain/access/authError.base.js +0 -1
- package/dist/domain/access/authentication.error.d.ts +0 -1
- package/dist/domain/access/authentication.error.js +0 -1
- package/dist/domain/access/authorization.error.d.ts +0 -1
- package/dist/domain/access/authorization.error.js +0 -1
- package/dist/domain/access/index.d.ts +0 -1
- package/dist/domain/access/index.js +0 -1
- package/dist/domain/access/oauthError.base.d.ts +0 -1
- package/dist/domain/access/oauthError.base.js +0 -1
- package/dist/domain/access/rateLimit.error.d.ts +0 -1
- package/dist/domain/access/rateLimit.error.js +0 -1
- package/dist/domain/api/api.error.d.ts +0 -1
- package/dist/domain/api/api.error.js +0 -1
- package/dist/domain/api/apiError.base.d.ts +0 -1
- package/dist/domain/api/apiError.base.js +0 -1
- package/dist/domain/api/apiError.lifecycle.d.ts +0 -1
- package/dist/domain/api/apiError.lifecycle.js +0 -1
- package/dist/domain/api/apiError.routing.d.ts +0 -1
- package/dist/domain/api/apiError.routing.js +0 -1
- package/dist/domain/api/index.d.ts +0 -1
- package/dist/domain/api/index.js +0 -1
- package/dist/domain/app/application.error.d.ts +0 -1
- package/dist/domain/app/application.error.js +0 -1
- package/dist/domain/app/configuration.error.d.ts +0 -1
- package/dist/domain/app/configuration.error.js +0 -1
- package/dist/domain/app/domain.error.d.ts +0 -1
- package/dist/domain/app/domain.error.js +0 -1
- package/dist/domain/app/index.d.ts +0 -1
- package/dist/domain/app/index.js +0 -1
- package/dist/domain/app/lifecycle.error.d.ts +0 -1
- package/dist/domain/app/lifecycle.error.js +0 -1
- package/dist/domain/app/lifecycleError.base.d.ts +0 -1
- package/dist/domain/app/lifecycleError.base.js +0 -1
- package/dist/domain/app/lifecycleError.types.d.ts +0 -1
- package/dist/domain/app/lifecycleError.types.js +0 -1
- package/dist/domain/app/module.error.d.ts +0 -1
- package/dist/domain/app/module.error.js +0 -1
- package/dist/domain/app/moduleError.base.d.ts +0 -1
- package/dist/domain/app/moduleError.base.js +0 -1
- package/dist/domain/app/moduleError.types.d.ts +0 -1
- package/dist/domain/app/moduleError.types.js +0 -1
- package/dist/domain/body/bodyParser.error.d.ts +0 -1
- package/dist/domain/body/bodyParser.error.js +0 -1
- package/dist/domain/body/httpBody.error.d.ts +0 -1
- package/dist/domain/body/httpBody.error.js +0 -1
- package/dist/domain/body/httpBodyError.base.d.ts +0 -1
- package/dist/domain/body/httpBodyError.base.js +0 -1
- package/dist/domain/body/httpBodyError.types.d.ts +0 -1
- package/dist/domain/body/httpBodyError.types.js +0 -1
- package/dist/domain/body/httpFormData.error.d.ts +0 -1
- package/dist/domain/body/httpFormData.error.js +0 -1
- package/dist/domain/body/index.d.ts +0 -1
- package/dist/domain/body/index.js +0 -1
- package/dist/domain/body/multipart.error.d.ts +0 -1
- package/dist/domain/body/multipart.error.js +0 -1
- package/dist/domain/cli/cliError.base.d.ts +0 -1
- package/dist/domain/cli/cliError.base.js +0 -1
- package/dist/domain/cli/index.d.ts +0 -1
- package/dist/domain/cli/index.js +0 -1
- package/dist/domain/constant/constantError.base.d.ts +0 -1
- package/dist/domain/constant/constantError.base.js +0 -1
- package/dist/domain/constant/index.d.ts +0 -1
- package/dist/domain/constant/index.js +0 -1
- package/dist/domain/cqrs/cqrsError.base.d.ts +0 -1
- package/dist/domain/cqrs/cqrsError.base.js +0 -1
- package/dist/domain/cqrs/cqrsError.result.d.ts +0 -1
- package/dist/domain/cqrs/cqrsError.result.js +0 -1
- package/dist/domain/cqrs/index.d.ts +0 -1
- package/dist/domain/cqrs/index.js +0 -1
- package/dist/domain/documentation/documentation.error.d.ts +0 -1
- package/dist/domain/documentation/documentation.error.js +0 -1
- package/dist/domain/documentation/documentationError.base.d.ts +0 -1
- package/dist/domain/documentation/documentationError.base.js +0 -1
- package/dist/domain/documentation/documentationError.types.d.ts +0 -1
- package/dist/domain/documentation/documentationError.types.js +0 -1
- package/dist/domain/documentation/index.d.ts +0 -1
- package/dist/domain/documentation/index.js +0 -1
- package/dist/domain/event/event.error.d.ts +0 -1
- package/dist/domain/event/event.error.js +0 -1
- package/dist/domain/event/eventError.base.d.ts +0 -1
- package/dist/domain/event/eventError.base.js +0 -1
- package/dist/domain/event/eventError.handler.d.ts +0 -1
- package/dist/domain/event/eventError.handler.js +0 -1
- package/dist/domain/event/eventError.lifecycle.d.ts +0 -1
- package/dist/domain/event/eventError.lifecycle.js +0 -1
- package/dist/domain/event/eventError.serialization.d.ts +0 -1
- package/dist/domain/event/eventError.serialization.js +0 -1
- package/dist/domain/event/index.d.ts +0 -1
- package/dist/domain/event/index.js +0 -1
- package/dist/domain/index.d.ts +0 -1
- package/dist/domain/index.js +0 -1
- package/dist/domain/message/index.d.ts +0 -1
- package/dist/domain/message/index.js +0 -1
- package/dist/domain/message/message.error.d.ts +0 -1
- package/dist/domain/message/message.error.js +0 -1
- package/dist/domain/message/messageError.base.d.ts +0 -1
- package/dist/domain/message/messageError.base.js +0 -1
- package/dist/domain/message/messageError.handler.d.ts +0 -1
- package/dist/domain/message/messageError.handler.js +0 -1
- package/dist/domain/message/messageError.lifecycle.d.ts +0 -1
- package/dist/domain/message/messageError.lifecycle.js +0 -1
- package/dist/domain/message/messageError.serialization.d.ts +0 -1
- package/dist/domain/message/messageError.serialization.js +0 -1
- package/dist/domain/message/messageError.validation.d.ts +0 -1
- package/dist/domain/message/messageError.validation.js +0 -1
- package/dist/domain/openapi/index.d.ts +0 -1
- package/dist/domain/openapi/index.js +0 -1
- package/dist/domain/openapi/openApiError.base.d.ts +0 -1
- package/dist/domain/openapi/openApiError.base.js +0 -1
- package/dist/domain/plugin/index.d.ts +0 -1
- package/dist/domain/plugin/index.js +0 -1
- package/dist/domain/plugin/plugin.error.d.ts +0 -1
- package/dist/domain/plugin/plugin.error.js +0 -1
- package/dist/domain/plugin/pluginError.base.d.ts +0 -1
- package/dist/domain/plugin/pluginError.base.js +0 -1
- package/dist/domain/plugin/pluginError.lifecycle.d.ts +0 -1
- package/dist/domain/plugin/pluginError.lifecycle.js +0 -1
- package/dist/domain/plugin/pluginError.runtime.d.ts +0 -1
- package/dist/domain/plugin/pluginError.runtime.js +0 -1
- package/dist/domain/queue/index.d.ts +0 -1
- package/dist/domain/queue/index.js +0 -1
- package/dist/domain/queue/queue.error.d.ts +0 -1
- package/dist/domain/queue/queue.error.js +0 -1
- package/dist/domain/queue/queueError.base.d.ts +0 -1
- package/dist/domain/queue/queueError.base.js +0 -1
- package/dist/domain/queue/queueError.job.d.ts +0 -1
- package/dist/domain/queue/queueError.job.js +0 -1
- package/dist/domain/queue/queueError.queue.d.ts +0 -1
- package/dist/domain/queue/queueError.queue.js +0 -1
- package/dist/domain/queue/queueError.worker.d.ts +0 -1
- package/dist/domain/queue/queueError.worker.js +0 -1
- package/dist/domain/rpc/index.d.ts +0 -1
- package/dist/domain/rpc/index.js +0 -1
- package/dist/domain/rpc/rpc.error.d.ts +0 -1
- package/dist/domain/rpc/rpc.error.js +0 -1
- package/dist/domain/rpc/rpcError.base.d.ts +0 -1
- package/dist/domain/rpc/rpcError.base.js +0 -1
- package/dist/domain/rpc/rpcError.protocol.d.ts +0 -1
- package/dist/domain/rpc/rpcError.protocol.js +0 -1
- package/dist/domain/rpc/rpcError.transport.d.ts +0 -1
- package/dist/domain/rpc/rpcError.transport.js +0 -1
- package/dist/domain/scheduler/index.d.ts +0 -1
- package/dist/domain/scheduler/index.js +0 -1
- package/dist/domain/scheduler/scheduler.error.d.ts +0 -1
- package/dist/domain/scheduler/scheduler.error.js +0 -1
- package/dist/domain/scheduler/schedulerError.base.d.ts +0 -1
- package/dist/domain/scheduler/schedulerError.base.js +0 -1
- package/dist/domain/scheduler/schedulerError.execution.d.ts +0 -1
- package/dist/domain/scheduler/schedulerError.execution.js +0 -1
- package/dist/domain/scheduler/schedulerError.schedule.d.ts +0 -1
- package/dist/domain/scheduler/schedulerError.schedule.js +0 -1
- package/dist/domain/schema/index.d.ts +0 -1
- package/dist/domain/schema/index.js +0 -1
- package/dist/domain/schema/schema.error.d.ts +0 -1
- package/dist/domain/schema/schema.error.js +0 -1
- package/dist/domain/schema/schemaError.base.d.ts +0 -1
- package/dist/domain/schema/schemaError.base.js +0 -1
- package/dist/domain/schema/schemaError.types.d.ts +0 -1
- package/dist/domain/schema/schemaError.types.js +0 -1
- package/dist/domain/serialization/index.d.ts +0 -1
- package/dist/domain/serialization/index.js +0 -1
- package/dist/domain/serialization/serialization.error.d.ts +2 -2
- package/dist/domain/serialization/serialization.error.js +2 -2
- package/dist/domain/serialization/serializationError.base.d.ts +0 -1
- package/dist/domain/serialization/serializationError.base.js +0 -1
- package/dist/domain/serialization/serializationError.limits.d.ts +51 -0
- package/dist/domain/serialization/serializationError.limits.js +70 -0
- package/dist/domain/serialization/serializationError.types.d.ts +0 -30
- package/dist/domain/serialization/serializationError.types.js +0 -50
- package/dist/domain/shared/domainError.helpers.d.ts +0 -1
- package/dist/domain/shared/domainError.helpers.js +0 -1
- package/dist/domain/state/conflict.error.d.ts +0 -1
- package/dist/domain/state/conflict.error.js +0 -1
- package/dist/domain/state/index.d.ts +0 -1
- package/dist/domain/state/index.js +0 -1
- package/dist/domain/state/notFound.error.d.ts +0 -1
- package/dist/domain/state/notFound.error.js +0 -1
- package/dist/domain/state/validation.error.d.ts +0 -1
- package/dist/domain/state/validation.error.js +0 -1
- package/dist/domain/state/validationError.base.d.ts +0 -1
- package/dist/domain/state/validationError.base.js +0 -1
- package/dist/domain/state/validationError.helpers.d.ts +0 -1
- package/dist/domain/state/validationError.helpers.js +0 -1
- package/dist/domain/transaction/index.d.ts +0 -1
- package/dist/domain/transaction/index.js +0 -1
- package/dist/domain/transaction/transactionError.base.d.ts +0 -1
- package/dist/domain/transaction/transactionError.base.js +0 -1
- package/dist/domain/transaction/transactionError.misc.d.ts +0 -1
- package/dist/domain/transaction/transactionError.misc.js +0 -1
- package/dist/domain/transaction/transactionError.types.d.ts +0 -1
- package/dist/domain/transaction/transactionError.types.js +0 -1
- package/dist/domain/traversal/index.d.ts +0 -1
- package/dist/domain/traversal/index.js +0 -1
- package/dist/domain/traversal/traversalLimit.error.d.ts +0 -1
- package/dist/domain/traversal/traversalLimit.error.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/infrastructure/adapter/adapter.error.d.ts +0 -1
- package/dist/infrastructure/adapter/adapter.error.js +0 -1
- package/dist/infrastructure/adapter/adapterError.base.d.ts +0 -1
- package/dist/infrastructure/adapter/adapterError.base.js +0 -1
- package/dist/infrastructure/adapter/adapterError.lifecycle.d.ts +0 -1
- package/dist/infrastructure/adapter/adapterError.lifecycle.js +0 -1
- package/dist/infrastructure/adapter/adapterError.operation.d.ts +0 -1
- package/dist/infrastructure/adapter/adapterError.operation.js +2 -3
- package/dist/infrastructure/adapter/index.d.ts +0 -1
- package/dist/infrastructure/adapter/index.js +0 -1
- package/dist/infrastructure/cache/cache.error.d.ts +0 -1
- package/dist/infrastructure/cache/cache.error.js +0 -1
- package/dist/infrastructure/cache/cacheError.base.d.ts +0 -1
- package/dist/infrastructure/cache/cacheError.base.js +0 -1
- package/dist/infrastructure/cache/cacheError.factory.d.ts +0 -1
- package/dist/infrastructure/cache/cacheError.factory.js +0 -1
- package/dist/infrastructure/cache/index.d.ts +0 -1
- package/dist/infrastructure/cache/index.js +0 -1
- package/dist/infrastructure/container/container.error.d.ts +0 -1
- package/dist/infrastructure/container/container.error.js +0 -1
- package/dist/infrastructure/container/containerError.base.d.ts +0 -1
- package/dist/infrastructure/container/containerError.base.js +0 -1
- package/dist/infrastructure/container/containerError.registration.d.ts +0 -1
- package/dist/infrastructure/container/containerError.registration.js +0 -1
- package/dist/infrastructure/container/index.d.ts +0 -1
- package/dist/infrastructure/container/index.js +0 -1
- package/dist/infrastructure/httpPipeline/httpMiddleware.error.d.ts +0 -1
- package/dist/infrastructure/httpPipeline/httpMiddleware.error.js +0 -1
- package/dist/infrastructure/httpPipeline/httpRequestGuard.error.d.ts +0 -1
- package/dist/infrastructure/httpPipeline/httpRequestGuard.error.js +0 -1
- package/dist/infrastructure/httpPipeline/index.d.ts +0 -1
- package/dist/infrastructure/httpPipeline/index.js +0 -1
- package/dist/infrastructure/index.d.ts +0 -1
- package/dist/infrastructure/index.js +0 -1
- package/dist/infrastructure/middleware/index.d.ts +0 -1
- package/dist/infrastructure/middleware/index.js +0 -1
- package/dist/infrastructure/middleware/middleware.error.d.ts +0 -1
- package/dist/infrastructure/middleware/middleware.error.js +3 -1
- package/dist/infrastructure/middleware/middlewareError.types.d.ts +8 -3
- package/dist/infrastructure/middleware/middlewareError.types.js +27 -4
- package/dist/infrastructure/network/http.error.d.ts +0 -1
- package/dist/infrastructure/network/http.error.js +0 -1
- package/dist/infrastructure/network/httpAdapter.error.d.ts +0 -1
- package/dist/infrastructure/network/httpAdapter.error.js +0 -1
- package/dist/infrastructure/network/httpClient.errors.d.ts +0 -1
- package/dist/infrastructure/network/httpClient.errors.js +0 -1
- package/dist/infrastructure/network/httpClientError.advanced.d.ts +0 -1
- package/dist/infrastructure/network/httpClientError.advanced.js +0 -1
- package/dist/infrastructure/network/httpClientError.base.d.ts +0 -1
- package/dist/infrastructure/network/httpClientError.base.js +0 -1
- package/dist/infrastructure/network/httpClientError.common.d.ts +0 -1
- package/dist/infrastructure/network/httpClientError.common.js +0 -1
- package/dist/infrastructure/network/httpClientError.error.d.ts +0 -1
- package/dist/infrastructure/network/httpClientError.error.js +0 -1
- package/dist/infrastructure/network/httpClientError.options.d.ts +0 -1
- package/dist/infrastructure/network/httpClientError.options.js +0 -1
- package/dist/infrastructure/network/httpClientError.specialized.d.ts +0 -1
- package/dist/infrastructure/network/httpClientError.specialized.js +0 -1
- package/dist/infrastructure/network/httpClientError.types.d.ts +0 -1
- package/dist/infrastructure/network/httpClientError.types.js +0 -1
- package/dist/infrastructure/network/httpError.base.d.ts +0 -1
- package/dist/infrastructure/network/httpError.base.js +0 -1
- package/dist/infrastructure/network/httpError.helpers.d.ts +0 -1
- package/dist/infrastructure/network/httpError.helpers.js +0 -1
- package/dist/infrastructure/network/httpResponse.error.d.ts +0 -1
- package/dist/infrastructure/network/httpResponse.error.js +0 -1
- package/dist/infrastructure/network/httpRouter.error.d.ts +0 -1
- package/dist/infrastructure/network/httpRouter.error.js +0 -1
- package/dist/infrastructure/network/httpRouterError.base.d.ts +0 -1
- package/dist/infrastructure/network/httpRouterError.base.js +0 -1
- package/dist/infrastructure/network/httpRouterError.types.d.ts +22 -2
- package/dist/infrastructure/network/httpRouterError.types.js +24 -4
- package/dist/infrastructure/network/httpServerError.error.d.ts +7 -1
- package/dist/infrastructure/network/httpServerError.error.js +8 -2
- package/dist/infrastructure/network/httpServerLifecycle.error.d.ts +0 -1
- package/dist/infrastructure/network/httpServerLifecycle.error.js +0 -1
- package/dist/infrastructure/network/httpServerLifecycleError.base.d.ts +0 -1
- package/dist/infrastructure/network/httpServerLifecycleError.base.js +0 -1
- package/dist/infrastructure/network/httpServerLifecycleError.types.d.ts +0 -1
- package/dist/infrastructure/network/httpServerLifecycleError.types.js +0 -1
- package/dist/infrastructure/network/httpStream.error.d.ts +0 -1
- package/dist/infrastructure/network/httpStream.error.js +0 -1
- package/dist/infrastructure/network/index.d.ts +0 -1
- package/dist/infrastructure/network/index.js +0 -1
- package/dist/infrastructure/network/network.error.d.ts +0 -1
- package/dist/infrastructure/network/network.error.js +0 -1
- package/dist/infrastructure/network/networkError.base.d.ts +0 -1
- package/dist/infrastructure/network/networkError.base.js +0 -1
- package/dist/infrastructure/network/networkError.factory.d.ts +0 -1
- package/dist/infrastructure/network/networkError.factory.js +0 -1
- package/dist/infrastructure/network/routePattern.error.d.ts +0 -1
- package/dist/infrastructure/network/routePattern.error.js +0 -1
- package/dist/infrastructure/network/timeout.error.d.ts +0 -1
- package/dist/infrastructure/network/timeout.error.js +0 -1
- package/dist/infrastructure/network/timeoutError.base.d.ts +0 -1
- package/dist/infrastructure/network/timeoutError.base.js +0 -1
- package/dist/infrastructure/network/timeoutError.factory.d.ts +0 -1
- package/dist/infrastructure/network/timeoutError.factory.js +0 -1
- package/dist/infrastructure/service/externalService.error.d.ts +0 -1
- package/dist/infrastructure/service/externalService.error.js +0 -1
- package/dist/infrastructure/service/externalServiceError.base.d.ts +9 -3
- package/dist/infrastructure/service/externalServiceError.base.js +20 -3
- package/dist/infrastructure/service/externalServiceError.factory.d.ts +0 -1
- package/dist/infrastructure/service/externalServiceError.factory.js +0 -1
- package/dist/infrastructure/service/index.d.ts +0 -1
- package/dist/infrastructure/service/index.js +0 -1
- package/dist/infrastructure/service/service.error.d.ts +0 -1
- package/dist/infrastructure/service/service.error.js +0 -1
- package/dist/infrastructure/service/serviceError.base.d.ts +0 -1
- package/dist/infrastructure/service/serviceError.base.js +0 -1
- package/dist/infrastructure/service/serviceError.factory.d.ts +0 -1
- package/dist/infrastructure/service/serviceError.factory.js +0 -1
- package/dist/infrastructure/storage/database.error.d.ts +0 -1
- package/dist/infrastructure/storage/database.error.js +0 -1
- package/dist/infrastructure/storage/databaseError.base.d.ts +0 -1
- package/dist/infrastructure/storage/databaseError.base.js +0 -1
- package/dist/infrastructure/storage/databaseError.factory.d.ts +0 -1
- package/dist/infrastructure/storage/databaseError.factory.js +0 -1
- package/dist/infrastructure/storage/index.d.ts +0 -1
- package/dist/infrastructure/storage/index.js +0 -1
- package/dist/infrastructure/storage/storage.error.d.ts +0 -1
- package/dist/infrastructure/storage/storage.error.js +0 -1
- package/dist/infrastructure/storage/storageError.base.d.ts +0 -1
- package/dist/infrastructure/storage/storageError.base.js +0 -1
- package/dist/infrastructure/storage/storageError.factory.d.ts +0 -1
- package/dist/infrastructure/storage/storageError.factory.js +0 -1
- package/dist/system/crypto.error.d.ts +0 -1
- package/dist/system/crypto.error.js +0 -1
- package/dist/system/cryptoError.base.d.ts +0 -1
- package/dist/system/cryptoError.base.js +0 -1
- package/dist/system/cryptoError.factory.d.ts +0 -1
- package/dist/system/cryptoError.factory.js +0 -1
- package/dist/system/index.d.ts +0 -1
- package/dist/system/index.js +0 -1
- package/dist/system/logging/index.d.ts +0 -1
- package/dist/system/logging/index.js +0 -1
- package/dist/system/logging/logging.error.d.ts +0 -1
- package/dist/system/logging/logging.error.js +0 -1
- package/dist/system/observability/index.d.ts +0 -1
- package/dist/system/observability/index.js +0 -1
- package/dist/system/observability/observabilityError.base.d.ts +0 -1
- package/dist/system/observability/observabilityError.base.js +0 -1
- package/dist/system/runtime.error.d.ts +0 -1
- package/dist/system/runtime.error.js +0 -1
- package/dist/system/runtimeError.base.d.ts +0 -1
- package/dist/system/runtimeError.base.js +0 -1
- package/dist/system/runtimeError.types.d.ts +0 -1
- package/dist/system/runtimeError.types.js +0 -1
- package/dist/system/system.error.d.ts +0 -1
- package/dist/system/system.error.js +0 -1
- package/dist/system/systemError.base.d.ts +0 -1
- package/dist/system/systemError.base.js +0 -1
- package/dist/system/systemError.factory.d.ts +0 -1
- package/dist/system/systemError.factory.js +0 -1
- package/dist/utils/errorHandler.core.d.ts +1 -1
- package/dist/utils/errorHandler.core.js +12 -12
- package/dist/utils/errorHandler.factory.d.ts +0 -1
- package/dist/utils/errorHandler.factory.js +0 -1
- package/dist/utils/errorHandler.types.d.ts +11 -4
- package/dist/utils/errorHandler.types.js +0 -1
- package/dist/utils/errorMapper.core.d.ts +0 -1
- package/dist/utils/errorMapper.core.js +0 -1
- package/dist/utils/errorMapper.mappers.d.ts +0 -1
- package/dist/utils/errorMapper.mappers.js +0 -1
- package/dist/utils/errorMapper.registry.d.ts +0 -1
- package/dist/utils/errorMapper.registry.js +0 -1
- package/dist/utils/errorMapper.types.d.ts +0 -1
- package/dist/utils/errorMapper.types.js +0 -1
- package/dist/utils/errorSerializer.core.d.ts +6 -4
- package/dist/utils/errorSerializer.core.js +17 -19
- package/dist/utils/errorSerializer.factory.d.ts +0 -1
- package/dist/utils/errorSerializer.factory.js +0 -1
- package/dist/utils/errorSerializer.public.d.ts +41 -0
- package/dist/utils/errorSerializer.public.js +54 -0
- package/dist/utils/errorSerializer.types.d.ts +19 -3
- package/dist/utils/errorSerializer.types.js +0 -1
- package/dist/utils/errorUtils.extraction.d.ts +0 -1
- package/dist/utils/errorUtils.extraction.js +0 -1
- package/dist/utils/errorUtils.helper.d.ts +0 -1
- package/dist/utils/errorUtils.helper.js +0 -1
- package/dist/utils/errorUtils.transform.d.ts +0 -1
- package/dist/utils/errorUtils.transform.js +0 -1
- package/dist/utils/errorUtils.typeCheck.d.ts +0 -1
- package/dist/utils/errorUtils.typeCheck.js +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/package.json +1 -1
|
@@ -5,4 +5,3 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export { SchemaError, SchemaTypeError, SchemaLiteralError, SchemaEnumError, SchemaStringError, SchemaNumberError, SchemaRequiredError, SchemaUnionError, SchemaUnknownKeyError, createSchemaError, isSchemaError, } from "./schema.error.js";
|
|
7
7
|
export type { SchemaErrorOptions } from "./schema.error.js";
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,4 +4,3 @@
|
|
|
4
4
|
* Schema error types for the Zudojs schema system.
|
|
5
5
|
*/
|
|
6
6
|
export { SchemaError, SchemaTypeError, SchemaLiteralError, SchemaEnumError, SchemaStringError, SchemaNumberError, SchemaRequiredError, SchemaUnionError, SchemaUnknownKeyError, createSchemaError, isSchemaError, } from "./schema.error.js";
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -50,4 +50,3 @@ export declare class SchemaError<TIssue = unknown> extends BaseError {
|
|
|
50
50
|
export declare function createSchemaError<TIssue = unknown>(message: string, options?: SchemaErrorOptions<TIssue>): SchemaError<TIssue>;
|
|
51
51
|
/** Determines whether an unknown value is a SchemaError. */
|
|
52
52
|
export declare function isSchemaError(value: unknown): value is SchemaError;
|
|
53
|
-
//# sourceMappingURL=schemaError.base.d.ts.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export { SerializationError, createSerializationError, isSerializationError, toSerializationError, } from "./serializationError.base.js";
|
|
5
5
|
export type { SerializationErrorOptions } from "./serializationError.base.js";
|
|
6
|
-
export { SerializeError, DeserializeError, UnsupportedSerializationFormatError, SerializerNotFoundError, CircularReferenceError,
|
|
7
|
-
|
|
6
|
+
export { SerializeError, DeserializeError, UnsupportedSerializationFormatError, SerializerNotFoundError, CircularReferenceError, InvalidSerializedDataError, TransformerError, TransformerNotFoundError, } from "./serializationError.types.js";
|
|
7
|
+
export { SerializationDepthError, SerializationPayloadTooLargeError, } from "./serializationError.limits.js";
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Serialization error classes — re-exports from focused files.
|
|
3
3
|
*/
|
|
4
4
|
export { SerializationError, createSerializationError, isSerializationError, toSerializationError, } from "./serializationError.base.js";
|
|
5
|
-
export { SerializeError, DeserializeError, UnsupportedSerializationFormatError, SerializerNotFoundError, CircularReferenceError,
|
|
6
|
-
|
|
5
|
+
export { SerializeError, DeserializeError, UnsupportedSerializationFormatError, SerializerNotFoundError, CircularReferenceError, InvalidSerializedDataError, TransformerError, TransformerNotFoundError, } from "./serializationError.types.js";
|
|
6
|
+
export { SerializationDepthError, SerializationPayloadTooLargeError, } from "./serializationError.limits.js";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serialization limit errors: a payload nested too deep or too large.
|
|
3
|
+
*
|
|
4
|
+
* Both take `{ statusCode?, expose? }` so a guard can tell a client that
|
|
5
|
+
* sent too much (an exposed 4xx) from a server that built too much (an
|
|
6
|
+
* unexposed 500). Their messages hold only the observed value and the
|
|
7
|
+
* limit, never the payload.
|
|
8
|
+
*/
|
|
9
|
+
import { SerializationError } from "./serializationError.base.js";
|
|
10
|
+
/** Status and exposure overrides accepted by the limit errors. */
|
|
11
|
+
export interface SerializationLimitErrorOptions {
|
|
12
|
+
readonly statusCode?: number;
|
|
13
|
+
readonly expose?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Error thrown when maximum serialization depth is exceeded.
|
|
17
|
+
*
|
|
18
|
+
* By default over-deep data is a server-side data bug, so this is an
|
|
19
|
+
* internal (500) error. Code that checks UNTRUSTED input (for example
|
|
20
|
+
* `assertDepthWithinLimit` in `@zudojs/validation`) passes
|
|
21
|
+
* `{ statusCode: 400, expose: true }`: too-deep client input is a client
|
|
22
|
+
* error. The message holds only the two numbers, so it is safe to expose.
|
|
23
|
+
*/
|
|
24
|
+
export declare class SerializationDepthError extends SerializationError {
|
|
25
|
+
readonly depth: number;
|
|
26
|
+
readonly maxDepth: number;
|
|
27
|
+
/** @deprecated Use `maxDepth`. */
|
|
28
|
+
readonly maxDepthValue: number;
|
|
29
|
+
constructor(depth: number, maxDepth: number, options?: SerializationLimitErrorOptions);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Error thrown when a serialized payload exceeds the size limit.
|
|
33
|
+
*
|
|
34
|
+
* By default this is an exposed 413: the size guards that throw it
|
|
35
|
+
* (`deserialize` in `@zudojs/serialization`, `assertSizeWithinLimit` in
|
|
36
|
+
* `@zudojs/validation`) check UNTRUSTED input, and too much client input is
|
|
37
|
+
* a client error. It used to be an unexposed 413, which
|
|
38
|
+
* `serializePublicError` answered with "An unexpected error occurred.".
|
|
39
|
+
* The message holds only the two sizes, never the payload, so it is safe to
|
|
40
|
+
* expose. Code that checks a payload the server built itself passes
|
|
41
|
+
* `{ statusCode: 500, expose: false }`, as `serialize` does.
|
|
42
|
+
*/
|
|
43
|
+
export declare class SerializationPayloadTooLargeError extends SerializationError {
|
|
44
|
+
readonly size: number;
|
|
45
|
+
readonly maxSize: number;
|
|
46
|
+
/** @deprecated Use `size`. */
|
|
47
|
+
readonly payloadSize: number;
|
|
48
|
+
/** @deprecated Use `maxSize`. */
|
|
49
|
+
readonly maxSizeValue: number;
|
|
50
|
+
constructor(size: number, maxSize: number, options?: SerializationLimitErrorOptions);
|
|
51
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serialization limit errors: a payload nested too deep or too large.
|
|
3
|
+
*
|
|
4
|
+
* Both take `{ statusCode?, expose? }` so a guard can tell a client that
|
|
5
|
+
* sent too much (an exposed 4xx) from a server that built too much (an
|
|
6
|
+
* unexposed 500). Their messages hold only the observed value and the
|
|
7
|
+
* limit, never the payload.
|
|
8
|
+
*/
|
|
9
|
+
import { ErrorCode } from "../../base/types/errorCode.type.js";
|
|
10
|
+
import { SerializationError } from "./serializationError.base.js";
|
|
11
|
+
/**
|
|
12
|
+
* Error thrown when maximum serialization depth is exceeded.
|
|
13
|
+
*
|
|
14
|
+
* By default over-deep data is a server-side data bug, so this is an
|
|
15
|
+
* internal (500) error. Code that checks UNTRUSTED input (for example
|
|
16
|
+
* `assertDepthWithinLimit` in `@zudojs/validation`) passes
|
|
17
|
+
* `{ statusCode: 400, expose: true }`: too-deep client input is a client
|
|
18
|
+
* error. The message holds only the two numbers, so it is safe to expose.
|
|
19
|
+
*/
|
|
20
|
+
export class SerializationDepthError extends SerializationError {
|
|
21
|
+
depth;
|
|
22
|
+
maxDepth;
|
|
23
|
+
/** @deprecated Use `maxDepth`. */
|
|
24
|
+
maxDepthValue;
|
|
25
|
+
constructor(depth, maxDepth, options = {}) {
|
|
26
|
+
super(`Maximum serialization depth exceeded: ${depth} > ${maxDepth}`, {
|
|
27
|
+
code: ErrorCode.MAX_DEPTH_EXCEEDED,
|
|
28
|
+
depth,
|
|
29
|
+
maxDepth,
|
|
30
|
+
statusCode: options.statusCode ?? 500,
|
|
31
|
+
expose: options.expose ?? false,
|
|
32
|
+
});
|
|
33
|
+
this.depth = depth;
|
|
34
|
+
this.maxDepth = maxDepth;
|
|
35
|
+
this.maxDepthValue = maxDepth;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Error thrown when a serialized payload exceeds the size limit.
|
|
40
|
+
*
|
|
41
|
+
* By default this is an exposed 413: the size guards that throw it
|
|
42
|
+
* (`deserialize` in `@zudojs/serialization`, `assertSizeWithinLimit` in
|
|
43
|
+
* `@zudojs/validation`) check UNTRUSTED input, and too much client input is
|
|
44
|
+
* a client error. It used to be an unexposed 413, which
|
|
45
|
+
* `serializePublicError` answered with "An unexpected error occurred.".
|
|
46
|
+
* The message holds only the two sizes, never the payload, so it is safe to
|
|
47
|
+
* expose. Code that checks a payload the server built itself passes
|
|
48
|
+
* `{ statusCode: 500, expose: false }`, as `serialize` does.
|
|
49
|
+
*/
|
|
50
|
+
export class SerializationPayloadTooLargeError extends SerializationError {
|
|
51
|
+
size;
|
|
52
|
+
maxSize;
|
|
53
|
+
/** @deprecated Use `size`. */
|
|
54
|
+
payloadSize;
|
|
55
|
+
/** @deprecated Use `maxSize`. */
|
|
56
|
+
maxSizeValue;
|
|
57
|
+
constructor(size, maxSize, options = {}) {
|
|
58
|
+
super(`Serialized payload too large: ${size} bytes (max: ${maxSize})`, {
|
|
59
|
+
code: ErrorCode.PAYLOAD_TOO_LARGE,
|
|
60
|
+
size,
|
|
61
|
+
maxSize,
|
|
62
|
+
statusCode: options.statusCode ?? 413,
|
|
63
|
+
expose: options.expose ?? true,
|
|
64
|
+
});
|
|
65
|
+
this.size = size;
|
|
66
|
+
this.maxSize = maxSize;
|
|
67
|
+
this.payloadSize = size;
|
|
68
|
+
this.maxSizeValue = maxSize;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -39,35 +39,6 @@ export declare class CircularReferenceError extends SerializationError {
|
|
|
39
39
|
readonly circularPath: string;
|
|
40
40
|
constructor(path?: string);
|
|
41
41
|
}
|
|
42
|
-
/**
|
|
43
|
-
* Error thrown when maximum serialization depth is exceeded.
|
|
44
|
-
*
|
|
45
|
-
* By default over-deep data is a server-side data bug, so this is an
|
|
46
|
-
* internal (500) error. Code that checks UNTRUSTED input (for example
|
|
47
|
-
* `assertDepthWithinLimit` in `@zudojs/validation`) passes
|
|
48
|
-
* `{ statusCode: 400, expose: true }`: too-deep client input is a client
|
|
49
|
-
* error. The message holds only the two numbers, so it is safe to expose.
|
|
50
|
-
*/
|
|
51
|
-
export declare class SerializationDepthError extends SerializationError {
|
|
52
|
-
readonly depth: number;
|
|
53
|
-
readonly maxDepth: number;
|
|
54
|
-
/** @deprecated Use `maxDepth`. */
|
|
55
|
-
readonly maxDepthValue: number;
|
|
56
|
-
constructor(depth: number, maxDepth: number, options?: {
|
|
57
|
-
readonly statusCode?: number;
|
|
58
|
-
readonly expose?: boolean;
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
/** Error thrown when a serialized payload exceeds the size limit. */
|
|
62
|
-
export declare class SerializationPayloadTooLargeError extends SerializationError {
|
|
63
|
-
readonly size: number;
|
|
64
|
-
readonly maxSize: number;
|
|
65
|
-
/** @deprecated Use `size`. */
|
|
66
|
-
readonly payloadSize: number;
|
|
67
|
-
/** @deprecated Use `maxSize`. */
|
|
68
|
-
readonly maxSizeValue: number;
|
|
69
|
-
constructor(size: number, maxSize: number);
|
|
70
|
-
}
|
|
71
42
|
/** Error thrown when serialized data is invalid or malformed. */
|
|
72
43
|
export declare class InvalidSerializedDataError extends SerializationError {
|
|
73
44
|
constructor(message: string, options?: {
|
|
@@ -87,4 +58,3 @@ export declare class TransformerNotFoundError extends SerializationError {
|
|
|
87
58
|
readonly transformerType: string;
|
|
88
59
|
constructor(type: string);
|
|
89
60
|
}
|
|
90
|
-
//# sourceMappingURL=serializationError.types.d.ts.map
|
|
@@ -71,55 +71,6 @@ export class CircularReferenceError extends SerializationError {
|
|
|
71
71
|
this.circularPath = path;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
/**
|
|
75
|
-
* Error thrown when maximum serialization depth is exceeded.
|
|
76
|
-
*
|
|
77
|
-
* By default over-deep data is a server-side data bug, so this is an
|
|
78
|
-
* internal (500) error. Code that checks UNTRUSTED input (for example
|
|
79
|
-
* `assertDepthWithinLimit` in `@zudojs/validation`) passes
|
|
80
|
-
* `{ statusCode: 400, expose: true }`: too-deep client input is a client
|
|
81
|
-
* error. The message holds only the two numbers, so it is safe to expose.
|
|
82
|
-
*/
|
|
83
|
-
export class SerializationDepthError extends SerializationError {
|
|
84
|
-
depth;
|
|
85
|
-
maxDepth;
|
|
86
|
-
/** @deprecated Use `maxDepth`. */
|
|
87
|
-
maxDepthValue;
|
|
88
|
-
constructor(depth, maxDepth, options = {}) {
|
|
89
|
-
super(`Maximum serialization depth exceeded: ${depth} > ${maxDepth}`, {
|
|
90
|
-
code: ErrorCode.MAX_DEPTH_EXCEEDED,
|
|
91
|
-
depth,
|
|
92
|
-
maxDepth,
|
|
93
|
-
statusCode: options.statusCode ?? 500,
|
|
94
|
-
expose: options.expose ?? false,
|
|
95
|
-
});
|
|
96
|
-
this.depth = depth;
|
|
97
|
-
this.maxDepth = maxDepth;
|
|
98
|
-
this.maxDepthValue = maxDepth;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
/** Error thrown when a serialized payload exceeds the size limit. */
|
|
102
|
-
export class SerializationPayloadTooLargeError extends SerializationError {
|
|
103
|
-
size;
|
|
104
|
-
maxSize;
|
|
105
|
-
/** @deprecated Use `size`. */
|
|
106
|
-
payloadSize;
|
|
107
|
-
/** @deprecated Use `maxSize`. */
|
|
108
|
-
maxSizeValue;
|
|
109
|
-
constructor(size, maxSize) {
|
|
110
|
-
super(`Serialized payload too large: ${size} bytes (max: ${maxSize})`, {
|
|
111
|
-
code: ErrorCode.PAYLOAD_TOO_LARGE,
|
|
112
|
-
size,
|
|
113
|
-
maxSize,
|
|
114
|
-
statusCode: 413,
|
|
115
|
-
expose: false,
|
|
116
|
-
});
|
|
117
|
-
this.size = size;
|
|
118
|
-
this.maxSize = maxSize;
|
|
119
|
-
this.payloadSize = size;
|
|
120
|
-
this.maxSizeValue = maxSize;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
74
|
/** Error thrown when serialized data is invalid or malformed. */
|
|
124
75
|
export class InvalidSerializedDataError extends SerializationError {
|
|
125
76
|
constructor(message, options = {}) {
|
|
@@ -157,4 +108,3 @@ export class TransformerNotFoundError extends SerializationError {
|
|
|
157
108
|
this.transformerType = type;
|
|
158
109
|
}
|
|
159
110
|
}
|
|
160
|
-
//# sourceMappingURL=serializationError.types.js.map
|
|
@@ -58,4 +58,3 @@ export declare function redactIssueValues<T>(issues: readonly T[]): readonly T[]
|
|
|
58
58
|
* so that `JSON.stringify` on the error never throws.
|
|
59
59
|
*/
|
|
60
60
|
export declare function toJsonSafeIssues<T>(issues: readonly T[]): readonly T[];
|
|
61
|
-
//# sourceMappingURL=domainError.helpers.d.ts.map
|
|
@@ -23,4 +23,3 @@ export declare function alreadyExistsError(resource: string, identifier?: string
|
|
|
23
23
|
export declare function duplicateError(field: string, value?: string | number): ConflictError;
|
|
24
24
|
/** Creates an error indicating that a resource is currently locked (HTTP 423). */
|
|
25
25
|
export declare function resourceLockedError(resource: string, identifier?: string | number): ConflictError;
|
|
26
|
-
//# sourceMappingURL=conflict.error.d.ts.map
|
|
@@ -23,4 +23,3 @@ export declare function resourceNotFoundError(resource: string, identifier?: str
|
|
|
23
23
|
export declare function entityNotFoundError(entity: string, identifier?: string | number): NotFoundError;
|
|
24
24
|
/** Creates an error for a missing API route. */
|
|
25
25
|
export declare function routeNotFoundError(method: string, path: string): NotFoundError;
|
|
26
|
-
//# sourceMappingURL=notFound.error.d.ts.map
|
|
@@ -59,4 +59,3 @@ export declare class ValidationError extends BaseError {
|
|
|
59
59
|
export declare function createValidationError(message?: string, issues?: readonly ValidationIssue[], options?: Omit<ValidationErrorOptions, "issues">): ValidationError;
|
|
60
60
|
/** Determines whether an unknown value is a ValidationError. */
|
|
61
61
|
export declare function isValidationError(value: unknown): value is ValidationError;
|
|
62
|
-
//# sourceMappingURL=validationError.base.d.ts.map
|
|
@@ -8,4 +8,3 @@ export declare function createValidationIssue(message: string, options?: Omit<Va
|
|
|
8
8
|
export declare function requiredFieldIssue(field: string, message?: string): ValidationIssue;
|
|
9
9
|
/** Creates an invalid-field validation issue. */
|
|
10
10
|
export declare function invalidFieldIssue(field: string, message?: string, value?: unknown): ValidationIssue;
|
|
11
|
-
//# sourceMappingURL=validationError.helpers.d.ts.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,4 +5,3 @@ export { AdapterError, createAdapterError, isAdapterError, AdapterNotFoundError,
|
|
|
5
5
|
export type { AdapterErrorOptions } from "./adapterError.base.js";
|
|
6
6
|
export { AdapterInitializationError, AdapterConfigurationError, AdapterDisposeError, } from "./adapterError.lifecycle.js";
|
|
7
7
|
export { AdapterNotSupportedError, AdapterCapabilityMissingError, AdapterConnectionError, AdapterOperationError, AdapterTimeoutError, } from "./adapterError.operation.js";
|
|
8
|
-
//# sourceMappingURL=adapter.error.d.ts.map
|
|
@@ -4,4 +4,3 @@
|
|
|
4
4
|
export { AdapterError, createAdapterError, isAdapterError, AdapterNotFoundError, AdapterAlreadyRegisteredError, } from "./adapterError.base.js";
|
|
5
5
|
export { AdapterInitializationError, AdapterConfigurationError, AdapterDisposeError, } from "./adapterError.lifecycle.js";
|
|
6
6
|
export { AdapterNotSupportedError, AdapterCapabilityMissingError, AdapterConnectionError, AdapterOperationError, AdapterTimeoutError, } from "./adapterError.operation.js";
|
|
7
|
-
//# sourceMappingURL=adapter.error.js.map
|
|
@@ -34,7 +34,7 @@ export class AdapterConnectionError extends AdapterError {
|
|
|
34
34
|
code: ErrorCode.ADAPTER_CONNECTION_FAILED,
|
|
35
35
|
adapter: adapterName,
|
|
36
36
|
cause,
|
|
37
|
-
statusCode:
|
|
37
|
+
statusCode: 503,
|
|
38
38
|
expose: false,
|
|
39
39
|
isOperational: false,
|
|
40
40
|
});
|
|
@@ -63,11 +63,10 @@ export class AdapterTimeoutError extends AdapterError {
|
|
|
63
63
|
adapter: adapterName,
|
|
64
64
|
cause,
|
|
65
65
|
metadata: { operation, timeout },
|
|
66
|
-
statusCode:
|
|
66
|
+
statusCode: 504,
|
|
67
67
|
expose: false,
|
|
68
68
|
isOperational: false,
|
|
69
69
|
});
|
|
70
70
|
this.timeout = timeout;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
//# sourceMappingURL=adapterError.operation.js.map
|
|
@@ -5,4 +5,3 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export { AdapterError, AdapterNotFoundError, AdapterAlreadyRegisteredError, AdapterNotSupportedError, AdapterCapabilityMissingError, AdapterConnectionError, AdapterOperationError, AdapterTimeoutError, AdapterDisposeError, AdapterInitializationError, AdapterConfigurationError, createAdapterError, isAdapterError, } from "./adapter.error.js";
|
|
7
7
|
export type { AdapterErrorOptions } from "./adapter.error.js";
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,4 +4,3 @@
|
|
|
4
4
|
* Adapter error types.
|
|
5
5
|
*/
|
|
6
6
|
export { AdapterError, AdapterNotFoundError, AdapterAlreadyRegisteredError, AdapterNotSupportedError, AdapterCapabilityMissingError, AdapterConnectionError, AdapterOperationError, AdapterTimeoutError, AdapterDisposeError, AdapterInitializationError, AdapterConfigurationError, createAdapterError, isAdapterError, } from "./adapter.error.js";
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -14,4 +14,3 @@ export declare function cacheDeserializationError(message?: string, options?: Om
|
|
|
14
14
|
export declare function cacheInvalidKeyError(key: string, message?: string): CacheError;
|
|
15
15
|
/** Creates a cache adapter not configured error. */
|
|
16
16
|
export declare function cacheAdapterNotConfiguredError(adapter?: string): CacheError;
|
|
17
|
-
//# sourceMappingURL=cacheError.factory.d.ts.map
|