Exception: CommandTower::Errors::Auth::NestedImpersonationError

Inherits:
ForbiddenError show all
Defined in:
app/errors/command_tower/errors/auth/nested_impersonation_error.rb

Instance Attribute Summary

Attributes inherited from CommandTower::Errors::ApplicationError

#cause, #details

Instance Method Summary collapse

Methods inherited from ForbiddenError

#log_level

Methods inherited from CommandTower::Errors::ApplicationError

#initialize, #log_level, #retryable?

Constructor Details

This class inherits a constructor from CommandTower::Errors::ApplicationError

Instance Method Details

#codeObject



7
8
9
# File 'app/errors/command_tower/errors/auth/nested_impersonation_error.rb', line 7

def code
  "nested_impersonation_forbidden"
end

#messageObject



11
12
13
# File 'app/errors/command_tower/errors/auth/nested_impersonation_error.rb', line 11

def message
  "Nested impersonation is forbidden"
end