ErrorResponse

data class ErrorResponse(var code: String, var message: String, var error: String)

Represents an error response returned by the MTN MOMO API.

Constructors

Link copied to clipboard
constructor(code: String, message: String, error: String)

Properties

Link copied to clipboard

The error code returned by the API (maps to io.rekast.sdk.utils.ApiErrorResponses).

Link copied to clipboard

The raw error identifier string from the API.

Link copied to clipboard

A human-readable description of the error.