Sha256: eced49c437d00daffc7a8fbdbd321a16117ea2f2efa544767f135b44542f6873
Contents?: true
Size: 930 Bytes
Versions: 2
Compression:
Stored size: 930 Bytes
Contents
module Auth0 # Default exception in namespace of Auth0 # if you want to catch all exceptions, then you should use this one. # Network exceptions are not included class Exception < StandardError; end end # exception for unauthorized requests, if you see it, probably Bearer Token is not set correctly class Auth0::Unauthorized < Auth0::Exception; end # exception for not found resource, you query for an unexistent resource, or wrong path class Auth0::NotFound < Auth0::Exception; end # exception for unknown error class Auth0::Unsupported < Auth0::Exception; end # exception for server error class Auth0::ServerError < Auth0::Exception; end # exception for incorrect request, you've sent wrong params class Auth0::BadRequest < Auth0::Exception; end # exception for unset user_id, this might cause removal of all users, or other unexpected bahaviour class Auth0::UserIdIsBlank < Auth0::Exception; end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auth0-ruby-0.9.1 | lib/auth0/exception.rb |
auth0-ruby-0.9 | lib/auth0/exception.rb |