responseCodeExceptionMapping top-level property
read / write
Map showing the translation from http response code to an
ApiApiExceptionType
Implementation
Map<int, ApiExceptionType> responseCodeExceptionMapping = {
401: ApiExceptionType.UNAUTHORIZED,
419: ApiExceptionType.TOKEN_EXPIRED,
500: ApiExceptionType.INTERNAL,
};