errorModel method
Implementation
ServerException errorModel(
dynamic response,
String statusMessage,
ExpectType expectType,
) =>
ServerException(
errorMessageModel: RequestErrorModel.modelValidation(
validateModelName: T.toString(),
expectType: expectType,
requestApi: method,
responseApi: response,
statusMessage: statusMessage,
),
);