class

Manticoresearch::ApiException

Inherits Manticoresearch::OpenApiException < Exception < Reference < Object

Generic API Exception

Constructors

new(status : Int32 | Nil = nil, reason : String | Nil = nil, http_resp : HTTP::Client::Response | Nil = nil)
Source

Instance methods

body
Source
body=(body : String | Nil)
Source
headers
Source
headers=(headers : HTTP::Headers | Nil)
Source
reason
Source
reason=(reason : String | Nil)
Source
status
Source
status=(status : Int32 | Nil)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source