ApiError
●errors · /index·class
Base class for all API-layer errors, defaulting to HTTP 500 and the API_UNKNOWN_ERROR code family.
Signature
Example
throw new ApiError('upstream fetch failed', 503);Related
ApiErrorKind GenericErrorKind CartNotFoundError CartProviderError CartUserError ConvexOperatorTokenMintError DomainVerificationError DuplicateContextDirectiveError