Exception: JIJI::UserError
- Inherits:
-
StandardError
- Object
- StandardError
- JIJI::UserError
- Defined in:
- lib/jiji/error.rb
Overview
ユーザー操作により発生しうるエラー
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message = "") ⇒ UserError
constructor
A new instance of UserError.
Constructor Details
#initialize(code, message = "") ⇒ UserError
Returns a new instance of UserError.
13 14 15 16 |
# File 'lib/jiji/error.rb', line 13 def initialize( code, ="" ) super( ) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
17 18 19 |
# File 'lib/jiji/error.rb', line 17 def code @code end |