basalt / core/src / BasaltError
Class: BasaltError
Defined in: core/src/errors.ts:24
Base error for the whole ecosystem. The code is stable and part of the semver contract — apps can safely branch on codes.
Extends
Error
Extended by
ApiKeySchemaOutdatedErrorAuthModelMissingErrorSamlProviderUnknownErrorSamlResponseInvalidErrorSamlProviderConfigErrorMissingCacheScopeErrorConfigKeyErrorConfigUnsafeKeyErrorEnvValidationErrorEnvPrefixErrorEventValidationErrorDbUnavailableErrorScheduleDefinitionErrorAuditChainConflictErrorBackupConfigErrorBackupCommandErrorBackupIntegrityErrorBackupNotFoundErrorBackupRestoreRejectedErrorBackupTenantRequiredErrorAuditTenantRequiredErrorAuditTenantMismatchErrorAuditViewerUnguardedErrorTokenInvalidErrorTokenExpiredErrorInvalidCredentialsErrorEmailTakenErrorWeakJwtSecretErrorRefreshInvalidErrorRefreshReusedErrorAuthRequiredErrorAuthTokenInvalidErrorUserUpdateUnsupportedErrorMfaRequiredErrorMfaStepUpRequiredErrorMfaEnrollmentRequiredErrorMfaInvalidCodeErrorMfaNotEnrolledErrorMfaAlreadyEnabledErrorSocialLinkRefusedErrorAccountLinkConflictErrorAccountEmailAmbiguousErrorSecretBoxKeyErrorSecretUnreadableErrorCsrfRejectedErrorApiKeyExpirationErrorScopeRequiredErrorApiKeyTenantMismatchErrorApiKeyNotAllowedErrorApiKeyAmbiguousErrorOAuthProviderUnknownErrorOAuthStateInvalidErrorOAuthExchangeErrorOAuthProviderConfigErrorAccountLockedErrorWebAuthnChallengeErrorWebAuthnVerificationErrorPasskeyNotFoundErrorPasskeyClonedErrorPasskeyStoreOutdatedErrorPasskeyExistsErrorWebAuthnSubjectMismatchErrorCommentNotFoundErrorCommentTenantRequiredErrorCommentTenantMismatchErrorCommentTenantReservedErrorCommentParentNotFoundErrorCommentTooLongErrorCommentMentionLimitErrorContextUnavailableErrorUnknownTokenErrorCircularDependencyErrorCaptiveDependencyErrorPluginDependencyErrorConfigValidationErrorLifecycleErrorDriveProviderUnknownErrorDriveConnectionNotFoundErrorDriveTenantRequiredErrorDriveTenantMismatchErrorDriveTenantReservedErrorDriveCredentialsInvalidErrorDriveAuthorizationInvalidErrorDriveRateLimitedErrorDriveHostNotAllowedErrorDriveContentTooLargeErrorDriveUnsupportedErrorDriveAccessDeniedErrorDriveCursorResetErrorDriveItemNotFoundErrorDriveProviderErrorDriveNotificationInvalidErrorDriveSecretMalformedErrorDriveSecretKeyUnknownErrorDriveSecretKeyInvalidErrorUnknownExportFormatErrorExportNotStreamableErrorHttpErrorRequestValidationErrorFileTooLargeErrorFileTypeNotAllowedErrorFileTypeMismatchErrorFileNotScannedErrorFileInfectedErrorStorageQuotaExceededErrorFileNotFoundErrorFileTenantRequiredErrorFileTenantMismatchErrorFileTenantReservedErrorGuardsWithoutContainerErrorMailValidationErrorMailIncompleteErrorMailHeaderInjectionErrorMailDeliveryErrorNotificationValidationErrorRecipientEmailMissingErrorRecipientPhoneMissingErrorUnknownChannelErrorMissingRendererErrorNotificationNotFoundErrorAuthRequiredGuardErrorCanResourceUnavailableErrorInvalidCanMetaErrorMissingPolicyErrorPermissionDeniedErrorReservedScopeErrorResourceNotFoundErrorScopeRequiredErrorMissingTenantErrorRawQueryInTenantContextErrorUnscopedOperationErrorCrossTenantWriteErrorTenantPoolExhaustedErrorDatabaseNotMigratedErrorCrossTenantScanInTenantErrorCrossTenantScanShapeErrorInvalidTenantSchemaErrorEmptyTenantSchemaErrorSchemaPerTenantUnsupportedErrorJobValidationErrorJobNotRegisteredErrorUnknownJobErrorUnsupportedJobOptionErrorDuplicateJobErrorJobSignatureErrorJobContextErrorCronParseErrorTenantRequiredErrorSearchTenantMismatchErrorSearchTenantReservedErrorSearchPaginationErrorSearchFilterNotFilterableErrorSearchFilterValueErrorSearchReindexScopeErrorSearchDriverCapabilityErrorMeilisearchErrorSearchFilterFieldErrorSearchIndexNameErrorCopyUnsupportedErrorGetStreamUnsupportedErrorImageProcessingUnavailableErrorPutStreamUnsupportedErrorStatUnsupportedErrorStorageStreamLengthRequiredErrorStorageContentLengthInvalidErrorStorageContentLengthMismatchErrorStorageContentTypeErrorStorageCrossTenantCopyErrorStorageFileNotFoundErrorStorageInvalidKeyErrorStorageInvalidPathErrorStorageInvalidScopeErrorStorageSigningEndpointInvalidErrorStorageTenantRequiredErrorStorageTooLargeErrorStorageUploadUrlInvalidErrorTemporaryUploadUrlUnsupportedErrorTemporaryUrlTtlTooLongErrorTemporaryUrlUnsupportedErrorUnknownDiskErrorUnknownPlanErrorInvalidUsageAmountErrorWebhookInvalidErrorWebhookSecretMissingErrorCheckoutRequiredErrorPaymentAmountMismatchErrorStripeRequestErrorPaddleRequestErrorLemonSqueezyRequestErrorNotSubscribedErrorFeatureUnavailableErrorQuotaExceededErrorGatewayUnsupportedErrorPaymentRequiredErrorUnknownPlanMetaErrorBillingRedirectNotAllowedErrorInvoiceNotFoundErrorInvoiceStateErrorInvoiceInputErrorCouponInvalidErrorCouponNotRedeemableErrorCouponNotFoundErrorTeamInviteInvalidErrorNotATeamMemberErrorInsufficientTeamRoleErrorLastOwnerErrorTeamRoleNotGrantableErrorTeamUserSourceMissingErrorUnknownTeamRoleErrorTeamEmailNotVerifiedErrorInvalidTenantIdErrorTenancyNotResolvedErrorTenantNotFoundErrorTenantAlreadyExistsErrorTenantCreateUnsupportedErrorTenantDeleteUnsupportedErrorTenantNotReadyErrorTenantSuspendedErrorTenantStatusUnknownErrorTenantResolutionConflictErrorTenantRequiredErrorInvalidDomainErrorDomainReservedErrorDomainTakenErrorDomainNotFoundErrorDomainForbiddenErrorMailAssertionErrorQueueAssertionError
Constructors
Constructor
> new BasaltError(code, message, options?): BasaltError
Defined in: core/src/errors.ts:30
Parameters
code
string
message
string
options?
Returns
BasaltError
Overrides
Error.constructor
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).