Exception: EML::Error
- Inherits:
-
StandardError
- Object
- StandardError
- EML::Error
- Extended by:
- T::Sig
- Defined in:
- lib/eml/error.rb
Overview
Error is the base class for more specific EML errors
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil) ⇒ Error
Returns a new instance of Error.
12 13 14 |
# File 'lib/eml/error.rb', line 12 def initialize( = nil) @message = T.let(, T.nilable(String)) end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
9 10 11 |
# File 'lib/eml/error.rb', line 9 def @message end |