| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract ErrorInfo |
build()
Builds the ErrorInfo instance.
|
abstract ErrorInfo.Builder |
setDomain(String domain)
Sets the domain of the error.
|
abstract ErrorInfo.Builder |
setMetadata(Map<String,String> metadata)
Sets the additional metadata about the error.
|
abstract ErrorInfo.Builder |
setReason(String reason)
Sets the reason for the error.
|
public abstract ErrorInfo.Builder setReason(String reason)
reason - the reason for the errorpublic abstract ErrorInfo.Builder setDomain(String domain)
domain - the domain of the errorpublic abstract ErrorInfo.Builder setMetadata(Map<String,String> metadata)
metadata - additional metadata about the errorpublic abstract ErrorInfo build()
Copyright © 2026. All rights reserved.