Exception: StructuraidCore::Engineering::Analysis::SectionDirectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/structuraid_core/errors/engineering/analysis/section_direction_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(section_direction, valid_options) ⇒ SectionDirectionError

Returns a new instance of SectionDirectionError.



5
6
7
8
9
# File 'lib/structuraid_core/errors/engineering/analysis/section_direction_error.rb', line 5

def initialize(section_direction, valid_options)
  message = "#{section_direction} is not a valid direction, should one of #{valid_options}"

  super(message)
end