Exception: MyJohnDeereApi::TypeMismatchError
- Inherits:
-
StandardError
- Object
- StandardError
- MyJohnDeereApi::TypeMismatchError
- Defined in:
- lib/my_john_deere_api/errors/type_mismatch_error.rb
Overview
This error is used in a context that will fail in the absence of a valid oAuth access token. We have classes that may only need access tokens for some use cases.
Instance Method Summary collapse
-
#initialize(message = "Record type does not match what was expected") ⇒ TypeMismatchError
constructor
A new instance of TypeMismatchError.
Constructor Details
#initialize(message = "Record type does not match what was expected") ⇒ TypeMismatchError
Returns a new instance of TypeMismatchError.
8 9 10 |
# File 'lib/my_john_deere_api/errors/type_mismatch_error.rb', line 8 def initialize( = "Record type does not match what was expected") super end |