Sha256: 0f952e123811bee817d325ce126e47d697770ec7435ab7f3f9915a166fa81a00
Contents?: true
Size: 264 Bytes
Versions: 2
Compression:
Stored size: 264 Bytes
Contents
module CloudBackup class Error < Exception end class << Error def must_define(method) new "You must define a (#{method}) method in your driver class." end def invalid_identificator new 'Invalid identificator.' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloud-backup-0.0.2 | lib/error.rb |
cloud-backup-0.0.1 | lib/error.rb |