Showing 1 of 1 total issue
Function errorByType
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static errorByType(type, res, message, possibleErrors, options = {}) {
switch (type) {
case 'ClientError':
{
const error = new ApiError(