class Osso::Error::NoAccountForOAuthClientError

Public Class Methods

new(domain: 'the requested domain') click to toggle source
Calls superclass method
# File lib/osso/error/oauth_error.rb, line 12
def initialize(domain: 'the requested domain')
  super
  @domain = domain
end

Public Instance Methods

message() click to toggle source
# File lib/osso/error/oauth_error.rb, line 17
def message
  "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