const SalixError = require('./salixError');
module.exports = class ForbiddenError extends SalixError {
    constructor(message, code, ...translateArgs) {
        super(message);
        this.name = ForbiddenError.name;
        this.statusCode = 403;
        this.code = code;
        this.translateArgs = translateArgs;
    }
};