mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-06 07:29:30 +00:00
52c2aa474f
* Rebrand project to PiSCSI - rascsi ->piscsi - rasctl -> scsictl - rasdump -> scsidump - ras* -> piscsi* (rasutil -> piscsi_util, etc.) * Refined the formatting and wording of the app startup banner * Kept some references to rascsi and rasctl where backwards compatibility is concerned * Point to the new github repo URL Co-authored-by: nucleogenic <nr@nucleogenic.com> Co-authored-by: Uwe Seimet <Uwe.Seimet@seimet.de>
16 lines
476 B
Python
16 lines
476 B
Python
"""
|
|
Module for custom exceptions raised by the piscsi module
|
|
"""
|
|
|
|
|
|
class FailedSocketConnectionException(Exception):
|
|
"""Raise when a piscsi protobuf socket connection cannot be established after multiple tries."""
|
|
|
|
|
|
class EmptySocketChunkException(Exception):
|
|
"""Raise when a socket payload contains an empty chunk which implies a possible problem."""
|
|
|
|
|
|
class InvalidProtobufResponse(Exception):
|
|
"""Raise when a piscsi socket payload contains unpexpected data."""
|