public final class Error extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Error.Builder
Builder used to construct a new
Error. |
| Constructor and Description |
|---|
Error(Error.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static Error.Builder |
builder()
Returns a new builder instance used to construct a new
ErrorCause. |
String |
getMessage()
Returns the human-readable message describing the error.
|
ErrorType |
getType()
Returns the type of the error.
|
public Error(Error.Builder builder)
public static Error.Builder builder()
ErrorCause.public String getMessage()
public ErrorType getType()
Copyright © 2016. All rights reserved.