"use strict";var u=Object.defineProperty;var n=(s,e)=>u(s,"name",{value:e,configurable:true});const d=use("BaseExceptionHandler");class a extends d{async handle(e,{response:t}){if(e.name==="ValidationException"){return t.status(400).send("Invalid arguments")}return t.status(e.status).send(e.message)}async report(){return true}}n(a,"ExceptionHandler");module.exports=a;
