Sha256: 60e48c01c8a403a105a437ef09fcf6e42b125f90cd9ecaafd67fb336d924f550

Contents?: true

Size: 708 Bytes

Versions: 6

Compression:

Stored size: 708 Bytes

Contents

#
# This file was ported to ruby from Composer php source code file.
# Original Source: Composer\Json\JsonValidationException.php
#
# (c) Nils Adermann <naderman@naderman.de>
#     Jordi Boggiano <j.boggiano@seld.be>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#

module Composer
  module Json
    # Represents a Json Validation error
    #
    # PHP Authors:
    # Jordi Boggiano <j.boggiano@seld.be>
    #
    # Ruby Authors:
    # Ioannis Kappas <ikappas@devworks.gr>
    class JsonValidationError < StandardError
      attr_reader :errors

      def initialize(errors)
        @errors = errors
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
php-composer-0.4.5 lib/composer/json/json_validaton_error.rb
php-composer-0.4.4 lib/composer/json/json_validaton_error.rb
php-composer-0.4.3 lib/composer/json/json_validaton_error.rb
php-composer-0.4.2 lib/composer/json/json_validaton_error.rb
php-composer-0.4.1 lib/composer/json/json_validaton_error.rb
php-composer-0.4.0 lib/composer/json/json_validaton_error.rb