Exception: Osso::Error::NoAccountForOAuthClientError
- Inherits:
-
OAuthError
- Object
- StandardError
- Base
- OAuthError
- Osso::Error::NoAccountForOAuthClientError
- Defined in:
- lib/osso/error/oauth_error.rb
Instance Method Summary collapse
-
#initialize(domain: 'the requested domain') ⇒ NoAccountForOAuthClientError
constructor
A new instance of NoAccountForOAuthClientError.
- #message ⇒ Object
Methods inherited from OAuthError
Methods inherited from Base
Constructor Details
#initialize(domain: 'the requested domain') ⇒ NoAccountForOAuthClientError
Returns a new instance of NoAccountForOAuthClientError.
12 13 14 15 |
# File 'lib/osso/error/oauth_error.rb', line 12 def initialize(domain: 'the requested domain') super @domain = domain end |
Instance Method Details
#message ⇒ Object
17 18 19 20 21 |
# File 'lib/osso/error/oauth_error.rb', line 17 def "No customer account exists for #{@domain} and OAuth client pair. " \ "Review our OAuth documentation, and check you're using the correct OAuth client identifier. " \ 'This usually suggests an engineering issue with your ENV variables.' end |