apidocs / com.srv4pos.server.api.infrastructure.exceptions / ErrorDetails

ErrorDetails

class ErrorDetails

Represents serialized exception. User: Kirill Date: 12.07.13 12:28

Constructors

<init>

ErrorDetails(error: String? = null, details: Map<String, String?>? = HashMap())

Represents serialized exception. User: Kirill Date: 12.07.13 12:28

Properties

details

var details: Map<String, String?>?

Usually, if Exception.getMessage is not null, then this map contains only one pair with key "message" and value Exception.getMessage Sometimes it's empty. Sometimes it has other values.

error

var error: String?

Basically, it's Class.getSimpleName of exception occured.