Error constructor
Implementation
factory Error({
ErrorCode? code,
$core.String? message,
$core.bool? shouldRetry,
}) {
final _result = create();
if (code != null) {
_result.code = code;
}
if (message != null) {
_result.message = message;
}
if (shouldRetry != null) {
_result.shouldRetry = shouldRetry;
}
return _result;
}