Sha256: 80fe06401e7716d423d0739471c09a28521d5dd52ad70bba7b359ebeba9adff2

Contents?: true

Size: 298 Bytes

Versions: 3

Compression:

Stored size: 298 Bytes

Contents

module Rasti
  class Form

    class ValidationError < Rasti::Types::CompoundError

      attr_reader :scope

      def initialize(scope, errors)
        @scope = scope
        super errors
      end

      private

      def message_title
        'Validation errors:'
      end

    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rasti-form-6.0.0 lib/rasti/form/errors.rb
rasti-form-5.0.0 lib/rasti/form/errors.rb
rasti-form-4.0.0 lib/rasti/form/errors.rb