httpStatusCode property

  1. @Deprecated('Use RestException instead to retrieve the HTTP response. Existing uses of ' 'ApiException for handling REST errors can be safely replaced with RestException')
int? httpStatusCode
final

HTTP status of response, only available if error

Implementation

@Deprecated(
    'Use RestException instead to retrieve the HTTP response. Existing uses of '
    'ApiException for handling REST errors can be safely replaced with RestException')
final int? httpStatusCode;