Exception: Tacokit::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tacokit/error.rb

Constant Summary collapse

ConfigurationError =
Class.new(Error)
ClientError =
Class.new(Error)
Unauthorized =

Errors Code - Message

Class.new(ClientError)
InvalidToken =

401 - invalid token

Class.new(Unauthorized)
InvalidKey =

401 - invalid key

Class.new(Unauthorized)
UnauthorizedPermissionRequested =

401 - unauthorized permission requested

Class.new(Unauthorized)
ResourceNotFound =

404 - model not found

Class.new(ClientError)
ConnectionFailed =

407

Class.new(ClientError)