ExperimentalOptional ExperimentalcauseUnderlying cause of the error.
Optional ExperimentaloriginalAn optional Failure object from which this error was constructed.
Preserves the original failure for round-tripping through the wire format.
Optional ExperimentalrawThe original error type string, preserving the raw wire value.
For known types, this option is ignored.
When the error's type is set to "UNKNOWN", this option is used to preserve the original wire string.
Optional ExperimentalretryableWhether this error should be considered retryable.
If not set, the retry behavior is determined from the error type.
For example, by default, INTERNAL is retryable, but UNAVAILABLE is non-retryable.
Optional ExperimentalstackAn optional stack trace string associated with this error.
When provided, this overrides the native stack property on the error.
This is typically used for remote stack traces received over the wire,
which may originate from a different language runtime.
Options for constructing a HandlerError.