var a=class{static errorHandler(e,r,t){if(e){if(e.status===500)return r||"InternalServerError";if(e.status>=500)return"ServerNotAvailableError";if(e.status===401||e.status===403)return"UnauthorizedError"}return t||"GeneralError"}};export{a};
