Showing 23 of 35 total issues
Avoid too many return
statements within this function. Open
Open
if (response.status === 406) return new NotAcceptable();
Avoid too many return
statements within this function. Open
Open
if (response.status === 500) return new InternalError();
Avoid too many return
statements within this function. Open
Open
if (response.status === 422) return new ValidationError();