class ValueNotValidJsonExceptionDetails
Class that describing info about individual violation.
Also see com.srv4pos.server.api.exceptions.ValueNotValidJsonException
ValueNotValidJsonExceptionDetails(field: String, message: String, code: ValueNotValidErrorType, params: Map<String, String?>)
Class that describing info about individual violation. |
val code: ValueNotValidErrorType
Returns unique error code. |
|
val field: String
Returns name of field that failed validation. |
|
val message: String
Returns human readable message describing exception. |
|
val params: Map<String, String?>
Returns additional params like actual value or violated parameters. |
fun of(field: String, message: String, code: ValueNotValidErrorType, params: Map<String, String?>): ValueNotValidJsonExceptionDetails |