resource-watch/webshot

View on GitHub
app/src/errors/uploadFileS3.error.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
class UploadFileS3 extends Error {

    constructor(message) {
        super();
        this.name = 'UploadFileS3';
        this.status = 500;
        this.message = message || 'Error uploading file to S3.';
    }

}

module.exports = UploadFileS3;