s3-orm
Version:
Object-Relational Mapping (ORM) interface for Amazon S3, enabling model-based data operations with indexing and querying capabilities
15 lines (12 loc) • 348 B
text/typescript
/**
* this is an error that can be thrown and results in a failure message back
* to the api (user error), but not treated internally as an error
*/
class AuthError extends Error {
code: number = 403;
constructor(...args) {
super(...args)
Error.captureStackTrace(this, AuthError)
}
}
export default AuthError;