Exception: MagicAdmin::MagicError
- Inherits:
-
StandardError
- Object
- StandardError
- MagicAdmin::MagicError
- Defined in:
- lib/magic-admin/errors.rb
Overview
MagicAdmin::MagicError class
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
attribute reader for error message.
Instance Method Summary collapse
-
#initialize(message) ⇒ MagicError
constructor
Description: The constructor allows you to specify error message.
Constructor Details
#initialize(message) ⇒ MagicError
Description:
The constructor allows you to specify error
Arguments:
message: error message.
16 17 18 |
# File 'lib/magic-admin/errors.rb', line 16 def initialize() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
attribute reader for error message
9 10 11 |
# File 'lib/magic-admin/errors.rb', line 9 def @message end |