Exceptions
snipe raises typed exceptions so callers can handle failure precisely.
SnipeError
Section titled “SnipeError”Subclass of Exception.
Base class for all snipe errors.
FormatError
Section titled “FormatError”Subclass of SnipeError.
A signature file or value had the wrong format.
IncompatibleSignatureError
Section titled “IncompatibleSignatureError”Subclass of SnipeError.
Two signatures could not be combined (k/scale mismatch or wrong type).
SnipeIOError
Section titled “SnipeIOError”Subclass of SnipeError.
A signature file could not be found, read, or written.
Ask snipe