Exception: Stytch::TenancyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/stytch/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(subject_org_id, request_org_id) ⇒ TenancyError

Returns a new instance of TenancyError.



40
41
42
43
# File 'lib/stytch/errors.rb', line 40

def initialize(subject_org_id, request_org_id)
  msg = "Subject organization_id #{subject_org_id} does not match authZ request organization_id #{request_org_id}"
  super(msg)
end