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.

Attributes

path[R]

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
151 def initialize(path)
152   @path = path
153   super "Access to #{@path} is forbidden. Either you do not have the " +
154     "required credentials or the server does not allow the requested " +
155     "operation"
156 end