Class: Glia::Errors::NoMatchingRoutingRuleError

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) ⇒ NoMatchingRoutingRuleError

Returns a new instance of NoMatchingRoutingRuleError.



493
494
495
496
497
498
499
# File 'lib/glia/errors/client_errors.rb', line 493

def initialize(message: nil)
  super(
    type: NO_MATCHING_ROUTING_RULE_ERROR,
    ref: create_ref(NO_MATCHING_ROUTING_RULE_ERROR),
    message: message || 'Matching routing rule not found'
  )
end