Sha256: 3a0425ff114f1341d834a6f179ac2894d747316cebbdaf45aa93fb30a54dbc4b
Contents?: true
Size: 610 Bytes
Versions: 23
Compression:
Stored size: 610 Bytes
Contents
#Some useful errors types module DataMapper class ValidationError < StandardError; end class ObjectNotFoundError < StandardError; end class MaterializationError < StandardError; end class RepositoryNotSetupError < StandardError; end class IncompleteResourceError < StandardError; end class PersistenceError < StandardError; end class PluginNotFoundError < StandardError; end end # module DataMapper class StandardError # Displays the specific error message and the backtrace associated with it. def display "#{message}\n\t#{backtrace.join("\n\t")}" end end # class StandardError
Version data entries
23 entries across 23 versions & 6 rubygems