Sha256: 66a25d113624a8da62665681203a198ab9baa2e9871f774ca63b6e3d78ffdb2f

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

module DataMapper
  
  class ValidationError < StandardError; end
  
  class ObjectNotFoundError < StandardError; end
  
  class MaterializationError < StandardError; end
  
end

class StandardError
  
  def display
    "#{message}\n\t#{backtrace.join("\n\t")}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datamapper-0.3.0 lib/data_mapper/support/errors.rb
datamapper-0.3.1 lib/data_mapper/support/errors.rb
datamapper-0.3.2 lib/data_mapper/support/errors.rb