@noisytransfer/errors
v0.2.2
Published
NoisyTransfer errors (experimental)
Maintainers
Readme
@noisytransfer/errors
Shared error utilities used across NoisyTransfer packages.
Exports
NoisyError– structured error base classisNoisyError(e)– type guardfromUnknown(code, message, context?, cause?)httpStatusToCode(status)– map HTTP status codesCODES– common error code mapping
import { NoisyError, isNoisyError, CODES } from "@noisytransfer/errors";APIs are internal and may change without notice.
