Exception: RubyPitaya::RouteError
- Defined in:
- lib/rubypitaya/core/route_error.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/core/route_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ RouteError
constructor
A new instance of RouteError.
Constructor Details
#initialize(code, message) ⇒ RouteError
Returns a new instance of RouteError.
6 7 8 9 10 11 |
# File 'lib/rubypitaya/core/route_error.rb', line 6 def initialize(code, ) @code = code @message = super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
4 5 6 |
# File 'lib/rubypitaya/core/route_error.rb', line 4 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/rubypitaya/core/route_error.rb', line 4 def @message end |