Exception: UserApp::ServiceError
- Defined in:
- lib/userapp/errors.rb,
lib/userapp/userapp.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code, message) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(error_code, message) ⇒ ServiceError
Returns a new instance of ServiceError.
13 14 15 16 |
# File 'lib/userapp/errors.rb', line 13 def initialize(error_code, ) @error_code = error_code super() end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
12 13 14 |
# File 'lib/userapp/errors.rb', line 12 def error_code @error_code end |