Exception: Typecast::UnauthorizedError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/typecast/errors.rb

Instance Attribute Summary

Attributes inherited from ApiError

#detail, #status_code

Instance Method Summary collapse

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