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

ServiceUnavailableException

class ServiceUnavailableException

Constructors

<init>

ServiceUnavailableException(error: String, code: ServiceUnavailableErrorType, details: Map<String, String?>)

Properties

code

var code: ServiceUnavailableErrorType

Unique error code.

details

var details: Map<String, String?>

This map contains only one pair with key "message" and value describing it.

error

var error: String

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