responseCodeExceptionMapping top-level property

Map<int, ApiExceptionType> responseCodeExceptionMapping
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,
};