RequestError.fromCode constructor
Implementation
factory RequestError.fromCode(String message, {int? statusCode, dynamic rawError}) {
final apiError = ApiError.create(rawError, statusCode: statusCode, message: message);
return RequestError(apiError);
}