global
def initialize(permit, error: nil)
def initialize(permit, error: nil) raise ArgumentError.new('Successful AccessControl::Result may not have an error') if permit && error super(permit, error) end
def initialize(permit, error: nil) raise ArgumentError.new('Successful AccessControl::Result may not have an error') if permit && error super(permit, error) end