Exception: AtlasEngine::CodedError
- Inherits:
-
StandardError
- Object
- StandardError
- AtlasEngine::CodedError
- Extended by:
- T::Sig
- Defined in:
- app/models/atlas_engine/coded_error.rb
Constant Summary collapse
- ErrorCode =
T.type_alias { T.any(Symbol, String) }
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ CodedError
constructor
A new instance of CodedError.
Constructor Details
#initialize(code, message) ⇒ CodedError
Returns a new instance of CodedError.
13 14 15 16 |
# File 'app/models/atlas_engine/coded_error.rb', line 13 def initialize(code, ) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
10 11 12 |
# File 'app/models/atlas_engine/coded_error.rb', line 10 def code @code end |