public static final class CommonTypesDef.Error.Builder extends Object
Modifier and Type | Method and Description |
---|---|
@NotNull CommonTypesDef.Error.Builder |
addField(@NotNull String key,
@NotNull String value) |
@NotNull CommonTypesDef.Error |
build() |
@NotNull CommonTypesDef.Error.Builder |
setErrorCode(@NotNull String errorCode)
An error code that should be mapped to a description in their display language in the end user application
|
@NotNull CommonTypesDef.Error.Builder |
setErrorMessage(@NotNull String errorMessage)
Additional information about the error.
|
@NotNull String |
toString() |
@NotNull public @NotNull CommonTypesDef.Error.Builder addField(@NotNull @NotNull String key, @NotNull @NotNull String value)
@NotNull public @NotNull CommonTypesDef.Error build()
@NotNull public @NotNull CommonTypesDef.Error.Builder setErrorCode(@NotNull @NotNull String errorCode)
errorCode
- e.g. rfs.stream.expired@NotNull public @NotNull CommonTypesDef.Error.Builder setErrorMessage(@NotNull @NotNull String errorMessage)
errorMessage
- e.g. Stream time of 120 second exceededCopyright © 2018 Caplin Systems.