Class: Glia::Errors::UnreachableDestinationError
- Defined in:
- lib/glia/errors/client_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ UnreachableDestinationError
constructor
A new instance of UnreachableDestinationError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ UnreachableDestinationError
Returns a new instance of UnreachableDestinationError.
342 343 344 345 346 347 348 |
# File 'lib/glia/errors/client_errors.rb', line 342 def initialize(message: nil) super( type: UNREACHABLE_DESTINATION_ERROR, ref: create_ref(UNREACHABLE_DESTINATION_ERROR), message: || 'Destination is unreachable' ) end |