Error

public final class Error

Container for error list.

Parameters

code

Error code describing the issue

detailCode

Detailed error code describing the issue.

description

A simple description of what the error is.

locationKeyword

The requested location that caused the error.

locationOptions

Container for possible matches to your ambiguous locationKeyword query.

Constructors

Link copied to clipboard
public Error Error(String code, String detailCode, String description, String locationKeyword, List<LocationOption> locationOptions)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String code
Link copied to clipboard
@Valid()
private final String description
Link copied to clipboard
@Valid()
private final String detailCode
Link copied to clipboard
@Valid()
private final String locationKeyword
Link copied to clipboard
@Valid()
private final List<LocationOption> locationOptions

Functions

Link copied to clipboard
public final static Error.Builder builder()
Link copied to clipboard
public final String getCode()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final String getDetailCode()
Link copied to clipboard
public final String getLocationKeyword()
Link copied to clipboard
Link copied to clipboard
public final Error.Builder toBuilder()