Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7450501
exc.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
691 B
Subscribers
None
exc.py
View Options
# Copyright (C) 2015 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
class
StorageDBError
(
Exception
):
"""Specific storage db error (connection, erroneous queries, etc...)
"""
def
__str__
(
self
):
return
'An unexpected error occurred in the backend:
%s
'
%
self
.
args
class
StorageAPIError
(
Exception
):
"""Specific internal storage api (mainly connection)
"""
def
__str__
(
self
):
args
=
self
.
args
return
'An unexpected error occurred in the api backend:
%s
'
%
args
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Thu, Apr 17, 7:43 AM (5 d, 7 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3260251
Attached To
rDSTOC swh-storage-cassandra
Event Timeline
Log In to Comment