Exception: Praxicraft::APIConnectionError

Inherits:
APIError
  • Object
show all
Defined in:
lib/praxicraft/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#error_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Failed to connect to the Praxicraft API.") ⇒ APIConnectionError

Returns a new instance of APIConnectionError.



18
19
20
# File 'lib/praxicraft/errors.rb', line 18

def initialize(message = "Failed to connect to the Praxicraft API.")
  super(message, "CONNECTION_ERROR")
end