Class Errors
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.Errors
-
public class Errors extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Errors.Error
-
Constructor Summary
Constructors Constructor Description Errors(java.util.List<Errors.Error> errors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Errors.Error
first()
java.util.List<Errors.Error>
getErrors()
static Errors
notPermitted(java.lang.String reason)
static Errors
notRecording()
static Errors
single(java.lang.Integer code, java.lang.String title)
static Errors
single(java.lang.Integer code, java.lang.String sourcePointer, java.lang.String title)
static Errors
single(java.lang.Integer code, java.lang.String sourcePointer, java.lang.String title, java.lang.String detail)
static Errors
singleWithDetail(java.lang.Integer code, java.lang.String title, java.lang.String detail)
static Errors
validation(java.lang.String pointer, java.lang.String message)
-
-
-
Constructor Detail
-
Errors
public Errors(java.util.List<Errors.Error> errors)
-
-
Method Detail
-
single
public static Errors single(java.lang.Integer code, java.lang.String sourcePointer, java.lang.String title)
-
single
public static Errors single(java.lang.Integer code, java.lang.String sourcePointer, java.lang.String title, java.lang.String detail)
-
single
public static Errors single(java.lang.Integer code, java.lang.String title)
-
singleWithDetail
public static Errors singleWithDetail(java.lang.Integer code, java.lang.String title, java.lang.String detail)
-
notRecording
public static Errors notRecording()
-
validation
public static Errors validation(java.lang.String pointer, java.lang.String message)
-
notPermitted
public static Errors notPermitted(java.lang.String reason)
-
first
public Errors.Error first()
-
getErrors
public java.util.List<Errors.Error> getErrors()
-
-