Exception: Sipity::Exceptions::StatePolicyQuestionRoleMapError

Inherits:
RuntimeError
  • Object
show all
Defined in:
app/exceptions/sipity/exceptions.rb

Overview

There was a problem referencing the state for a policy lookup.

Instance Method Summary collapse

Constructor Details

#initialize(state:, context:) ⇒ StatePolicyQuestionRoleMapError


25
26
27
# File 'app/exceptions/sipity/exceptions.rb', line 25

def initialize(state:, context:)
  super("Could not find #{state} in the corresponding map for #{context}")
end