lib/ardb/adapter/sqlite.rb in ardb-0.26.0 vs lib/ardb/adapter/sqlite.rb in ardb-0.27.0
- old
+ new
@@ -15,10 +15,10 @@
end
end
def validate!
if File.exist?(self.db_file_path)
- raise Ardb::Runner::CmdError, "#{self.database} already exists"
+ raise RuntimeError, "`#{self.database}` already exists"
end
end
def create_db
validate!