Exception: CloudBackup::Error

Inherits:
Exception
  • Object
show all
Defined in:
lib/error.rb

Class Method Summary collapse

Class Method Details

.invalid_identificatorObject



12
13
14
# File 'lib/error.rb', line 12

def invalid_identificator
  new 'Invalid identificator.'
end

.must_define(method) ⇒ Object



8
9
10
# File 'lib/error.rb', line 8

def must_define(method)
  new "You must define a (#{method}) method in your driver class."
end