class PokeAPI::NoResourceError

Overview

Exception raised when no resource was found.

Defined in:

pokeapi/error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(response : HTTP::Client::Response, cause = nil) #

[View source]

Instance Method Detail

def status_code : Int32 #

[View source]
def status_message : String | Nil #

[View source]