class Meilisearch::Crystal::ApiError

Overview

Raised when the server responds with a non-2xx status. Carries the parsed Error value (message/code/type/link) from the response envelope.

Defined in:

meilisearch/crystal/exceptions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(error : Error) #

[View source]

Instance Method Detail

def code(*args, **options) #

[View source]
def code(*args, **options, &) #

[View source]
def error : Error #

[View source]