Class: Glia::Errors::UnreachableDestinationError

Inherits:
Error
  • Object
show all
Defined in:
lib/glia/errors/client_errors.rb

Instance Attribute Summary

Attributes inherited from Error

#error_details, #message, #ref, #type

Instance Method Summary collapse

Methods inherited from Error

#to_h

Constructor Details

#initialize(message: nil) ⇒ UnreachableDestinationError

Returns a new instance of UnreachableDestinationError.



339
340
341
342
343
344
345
# File 'lib/glia/errors/client_errors.rb', line 339

def initialize(message: nil)
  super(
    type: UNREACHABLE_DESTINATION_ERROR,
    ref: create_ref(UNREACHABLE_DESTINATION_ERROR),
    message: message || 'Destination is unreachable'
  )
end