Sha256: 35789b8f12005825d6c50d693b63c0b92c5e8d2a39ecdd9e81cce98ba2eeddee

Contents?: true

Size: 299 Bytes

Versions: 13

Compression:

Stored size: 299 Bytes

Contents

# encoding: utf-8

module Mixture
  # All mixture errors inherit this.
  class BasicError < StandardError
  end

  # Occurs when a value can't be coerced into another value.
  class CoercionError < BasicError
  end

  # Occurs when a validation fails.
  class ValidationError < BasicError
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mixture-0.6.2 lib/mixture/errors.rb
mixture-0.6.1 lib/mixture/errors.rb
mixture-0.6.0 lib/mixture/errors.rb
mixture-0.5.1 lib/mixture/errors.rb
mixture-0.5.0 lib/mixture/errors.rb
mixture-0.4.0 lib/mixture/errors.rb
mixture-0.3.6 lib/mixture/errors.rb
mixture-0.3.5 lib/mixture/errors.rb
mixture-0.3.4 lib/mixture/errors.rb
mixture-0.3.2 lib/mixture/errors.rb
mixture-0.3.1 lib/mixture/errors.rb
mixture-0.3.0 lib/mixture/errors.rb
mixture-0.2.0 lib/mixture/errors.rb