mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Updated MappingException and Rollback derive from DB::Error (#70)
Make all db exceptions derive from DB::Error
This commit is contained in:
parent
1e882e35d2
commit
e40c19d195
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ module DB
|
|||
class Error < Exception
|
||||
end
|
||||
|
||||
class MappingException < Exception
|
||||
class MappingException < Error
|
||||
end
|
||||
|
||||
class PoolTimeout < Error
|
||||
|
@ -27,6 +27,6 @@ module DB
|
|||
class ConnectionRefused < Error
|
||||
end
|
||||
|
||||
class Rollback < Exception
|
||||
class Rollback < Error
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue