Exception: Stytch::TenancyError
- Inherits:
-
StandardError
- Object
- StandardError
- Stytch::TenancyError
- Defined in:
- lib/stytch/errors.rb
Instance Method Summary collapse
-
#initialize(subject_org_id, request_org_id) ⇒ TenancyError
constructor
A new instance of TenancyError.
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 |