pyfingerd.errors – Error definitions#

exception pyfingerd.errors.BindError(msg: str, /)#

Bases: ConfigurationError

Raised when an error has occurred with the provided binds.

Parameters:

msg – The precise error message.

original_message#
exception pyfingerd.errors.ConfigurationError#

Bases: Exception

Raised when an invalid configuration option is set.

exception pyfingerd.errors.HostnameError(*, hostname: str)#

Bases: ConfigurationError

Raised when a host name is invalid.

Parameters:

hostname – The invalid hostname.

exception pyfingerd.errors.InvalidBindError(msg: str = '', /, *, bind: str)#

Bases: BindError

Raised when one of the provided binds came out erroneous.

Parameters:
  • msg – The precise error message.

  • bind – The bind that has failed.

original_message#
exception pyfingerd.errors.MalformedRequestError(msg: str, /, *, line: str)#

Bases: Exception

Raised when a malformed query is received.

Parameters:
  • msg – The precise message.

  • line – The malformed query line.

line#
msg#
exception pyfingerd.errors.NoBindsError#

Bases: BindError

Raised when no binds were provided.