Sha256: 8c650a7af3a1c202b30cc1e309b5f7bad2e4099c7958be18d0622e78c92c8a13

Contents?: true

Size: 187 Bytes

Versions: 41

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

class MiniDefender::ValidationError < StandardError
  attr_reader :errors

  def initialize(msg, errors = {})
    super(msg)
    @errors = errors
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
mini_defender-0.6.8 lib/mini_defender/validation_error.rb
mini_defender-0.6.7 lib/mini_defender/validation_error.rb
mini_defender-0.6.5 lib/mini_defender/validation_error.rb
mini_defender-0.6.4 lib/mini_defender/validation_error.rb
mini_defender-0.6.3 lib/mini_defender/validation_error.rb
mini_defender-0.6.2 lib/mini_defender/validation_error.rb
mini_defender-0.6.1 lib/mini_defender/validation_error.rb
mini_defender-0.6.0 lib/mini_defender/validation_error.rb
mini_defender-0.5.8 lib/mini_defender/validation_error.rb
mini_defender-0.5.7 lib/mini_defender/validation_error.rb
mini_defender-0.5.6 lib/mini_defender/validation_error.rb
mini_defender-0.5.5 lib/mini_defender/validation_error.rb
mini_defender-0.5.4 lib/mini_defender/validation_error.rb
mini_defender-0.5.3 lib/mini_defender/validation_error.rb
mini_defender-0.5.2 lib/mini_defender/validation_error.rb
mini_defender-0.5.1 lib/mini_defender/validation_error.rb
mini_defender-0.5.0 lib/mini_defender/validation_error.rb
mini_defender-0.4.1 lib/mini_defender/validation_error.rb
mini_defender-0.4.0 lib/mini_defender/validation_error.rb
mini_defender-0.3.14 lib/mini_defender/validation_error.rb