Exception: Qubell::AuthenticationError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/qubell/errors.rb

Overview

Authentication exception for Qubell module

Instance Attribute Summary

Attributes inherited from BaseError

#error_code

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'invalid credentials') ⇒ AuthenticationError

Returns a new instance of AuthenticationError.



23
24
25
# File 'lib/qubell/errors.rb', line 23

def initialize(msg = 'invalid credentials')
  super '401', msg
end