Sha256: 47e7c00216d1e3563a7379f6829200f9a55bf3b7888956fc1f8fd530faf334d0

Contents?: true

Size: 291 Bytes

Versions: 9

Compression:

Stored size: 291 Bytes

Contents

module Conjur
  module Policy
    class Invalid < Exception
      attr_reader :mark
      
      def initialize message, filename, mark
        super [ "Error at line #{mark.line}, column #{mark.column} in #{filename}", message ].join(' : ')
        @mark = mark
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
conjur-policy-parser-0.12.0 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.13.0 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.12.0 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.11.0 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.8.3 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.8.2 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.8.1 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.8.0 lib/conjur/policy/invalid.rb
conjur-asset-policy-0.7.1 lib/conjur/policy/invalid.rb