Exception: AsyncCable::Errors::UnauthorizedError
- Defined in:
- lib/async_cable/errors.rb
Overview
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(reason = nil) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Constructor Details
#initialize(reason = nil) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
18 19 20 |
# File 'lib/async_cable/errors.rb', line 18 def initialize(reason = nil) super(reason || 'unauthorized') end |
Instance Method Details
#code ⇒ Object
22 23 24 |
# File 'lib/async_cable/errors.rb', line 22 def code 1401 end |