getStatusCodeMessage static method

String getStatusCodeMessage(
  1. String statusCode
)

Returns the error description according to the result code.

Implementation

static String getStatusCodeMessage(String statusCode) {
  return _codes[statusCode] ?? 'UNKNOWN_ERROR';
}