Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NodeError |
build() |
NodeError.Builder |
code(String code)
A short error code that defines the error, meant for programmatic parsing.
|
NodeError.Builder |
copy(NodeError model) |
NodeError.Builder |
message(String message)
A human-readable error string.
|
public NodeError.Builder code(String code)
A short error code that defines the error, meant for programmatic parsing. See API Errors.
code
- the value to setpublic NodeError.Builder message(String message)
A human-readable error string.
message
- the value to setpublic NodeError build()
public NodeError.Builder copy(NodeError model)
Copyright © 2016–2024. All rights reserved.