Sha256: 8078745acbb6e615a83131a28705e66ee002738427408594be81cc89da1f092d

Contents?: true

Size: 318 Bytes

Versions: 5

Compression:

Stored size: 318 Bytes

Contents

module Schemacop::Exceptions
  class Base < StandardError; end

  # This exception is thrown when the given schema definition format is invalid.
  class InvalidSchema < Base; end

  # This exception is thrown when the given data does not comply with the given
  # schema definition.
  class Validation < Base; end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
schemacop-1.0.2 lib/schemacop/exceptions.rb
schemacop-1.0.1 lib/schemacop/exceptions.rb
schemacop-1.0.0 lib/schemacop/exceptions.rb
schemacop-0.0.2 lib/schemacop/exceptions.rb
schemacop-0.0.1 lib/schemacop/exceptions.rb