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.



Public Class Methods

new(path) click to toggle source

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

# File lib/t2-server/exceptions.rb, line 135
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 " +