Exception: StructuraidCore::DesignCodes::UnknownDesignCodeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/structuraid_core/errors/design_codes/unknown_design_code_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(code_name) ⇒ UnknownDesignCodeError

Returns a new instance of UnknownDesignCodeError.



4
5
6
7
8
# File 'lib/structuraid_core/errors/design_codes/unknown_design_code_error.rb', line 4

def initialize(code_name)
  message = "Design code #{code_name} is unknown. Must select one of #{DesignCodes::Resolver::CODES_NAMESPACES}"

  super(message)
end