class

Omise::APIError

Inherits Omise::Error < Exception < Reference < Object

Raised when Omise returns a non-2xx response. The unmodified response body is retained even when it is not valid JSON.

Constructors

new(status : Int32, body : String, code : String | Nil = nil, location : String | Nil = nil, details : String | Nil = nil)
Source

Instance methods

body
Source
code
Source
details
Source
location
Source
status
Source