class T2Server::AccessForbiddenError

Access to the entity (run or attribute) is denied. The credentials supplied are not sufficient or the server does not allow the operation.



The path of the attribute that the user is forbidden to access.

Public Class Methods

new(path) click to toggle source

Create a new AccessForbiddenError with the path to the restricted attribute.

Calls superclass method
# File lib/t2-server/exceptions.rb, line 151
def initialize(path)
  @path = path
  super "Access to #{@path} is forbidden. Either you do not have the " +
    "required credentials or the server does not allow the requested " +