Class: AtlasEngine::CodedErrors
- Inherits:
-
Object
- Object
- AtlasEngine::CodedErrors
- Extended by:
- T::Sig
- Defined in:
- app/models/atlas_engine/coded_errors.rb
Direct Known Subclasses
Constant Summary collapse
- ErrorCode =
T.type_alias { T.any(Symbol, String) }
Class Method Summary collapse
Class Method Details
.error(code, message) ⇒ Object
12 13 14 |
# File 'app/models/atlas_engine/coded_errors.rb', line 12 def error(code, ) CodedError.new(code, ) end |