Exception: BusinessCentral::InvalidGrantException
- Inherits:
-
BusinessCentralError
- Object
- StandardError
- BusinessCentralError
- BusinessCentral::InvalidGrantException
- Defined in:
- lib/business_central/exceptions.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
Instance Method Summary collapse
-
#initialize(error_message) ⇒ InvalidGrantException
constructor
A new instance of InvalidGrantException.
- #message ⇒ Object
Constructor Details
#initialize(error_message) ⇒ InvalidGrantException
Returns a new instance of InvalidGrantException.
46 47 48 49 |
# File 'lib/business_central/exceptions.rb', line 46 def initialize() @error_message = super end |
Instance Attribute Details
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
51 52 53 |
# File 'lib/business_central/exceptions.rb', line 51 def @error_message end |
Instance Method Details
#message ⇒ Object
53 54 55 |
# File 'lib/business_central/exceptions.rb', line 53 def 'The provided grant has expired due to it being revoked, a fresh auth token is needed' end |