Exception: Typecast::UnauthorizedError
- Defined in:
- lib/typecast/errors.rb
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(detail = nil) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Constructor Details
#initialize(detail = nil) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
19 20 21 |
# File 'lib/typecast/errors.rb', line 19 def initialize(detail = nil) super("Unauthorized", 401, detail) end |