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;
}