Error

public final class Error

The overall class of error that occured.

Parameters

type

The error type.

message

A human readable message giving details about this error.

fields

Details about the specific fields that had an error.

errors

An array of all the actual errors that occured.

Constructors

Link copied to clipboard
public Error Error(String type, String message, List<Field> fields, List<ErrorIndividual> errors)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final List<ErrorIndividual> errors
Link copied to clipboard
@Valid()
private final List<Field> fields
Link copied to clipboard
@Valid()
private final String message
Link copied to clipboard
@Valid()
private final String type

Functions

Link copied to clipboard
public final static Error.Builder builder()
Link copied to clipboard
public final List<ErrorIndividual> getErrors()
Link copied to clipboard
public final List<Field> getFields()
Link copied to clipboard
public final String getMessage()
Link copied to clipboard
public final String getType()
Link copied to clipboard
public final Error.Builder toBuilder()