Sha256: 905f9beb8169622c022314476b661e4b08d7071850548f03f3304a1201293dba

Contents?: true

Size: 289 Bytes

Versions: 9

Compression:

Stored size: 289 Bytes

Contents

module Conjur
  module DSL2
    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 & 1 rubygems

Version Path
conjur-asset-dsl2-0.6.1 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.6.0 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.5.0 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.4.4 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.4.3 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.4.2 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.3.2 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.3.1 lib/conjur/dsl2/invalid.rb
conjur-asset-dsl2-0.3.0 lib/conjur/dsl2/invalid.rb