Previous topic

spinnman.constants module

Next topic

spinnman.reports module

This Page

spinnman.exceptions module

Exceptions

SpinnmanEIEIOPacketParsingException(...) Unable to complete the parsing of the EIEIO packet received.
SpinnmanException Superclass of exceptions that occur when dealing with communication with SpiNNaker
SpinnmanIOException(problem) An exception that something went wrong with the underlying IO
SpinnmanInvalidPacketException(packet_type, ...) An exception that indicates that a packet was not in the expected format
SpinnmanInvalidParameterException(parameter, ...) An exception that indicates that the value of one of the parameters passed was invalid
SpinnmanInvalidParameterTypeException(...) An exception that indicates that the type of one of the parameters passed was invalid
SpinnmanTimeoutException(operation, timeout) An exception that indicates that a timeout occurred before an operation
SpinnmanUnexpectedResponseCodeException(...) Indicate that a response code returned from the board was unexpected for the current operation
SpinnmanUnsupportedOperationException(operation) An exception that indicates that the given operation is not supported
exception spinnman.exceptions.SpinnmanEIEIOPacketParsingException(parsing_format, packet)[source]

Unable to complete the parsing of the EIEIO packet received. The routine used is invalid or the content of the packet is invalid

exception spinnman.exceptions.SpinnmanException[source]

Superclass of exceptions that occur when dealing with communication with SpiNNaker

exception spinnman.exceptions.SpinnmanIOException(problem)[source]

An exception that something went wrong with the underlying IO

Parameters:problem (str) – The problem with the IO
exception spinnman.exceptions.SpinnmanInvalidPacketException(packet_type, problem)[source]

An exception that indicates that a packet was not in the expected format

Parameters:
  • packet_type (str) – The type of packet expected
  • problem (str) – The problem with the packet
exception spinnman.exceptions.SpinnmanInvalidParameterException(parameter, value, problem)[source]

An exception that indicates that the value of one of the parameters passed was invalid

Parameters:
  • parameter (str) – The name of the parameter that is invalid
  • value (str) – The value of the parameter that is invalid
  • problem (str) – The problem with the parameter
exception spinnman.exceptions.SpinnmanInvalidParameterTypeException(parameter, param_type, problem)[source]

An exception that indicates that the type of one of the parameters passed was invalid

Parameters:
  • parameter (str) – The name of the parameter that is invalid
  • param_type (str) – The type of the parameter that is invalid
  • problem (str) – The problem with the parameter
exception spinnman.exceptions.SpinnmanTimeoutException(operation, timeout)[source]

An exception that indicates that a timeout occurred before an operation could finish

Parameters:
  • operation (str) – The operation being performed
  • timeout (int) – The timeout value in seconds
exception spinnman.exceptions.SpinnmanUnexpectedResponseCodeException(operation, command, response)[source]

Indicate that a response code returned from the board was unexpected for the current operation

Parameters:
  • operation (str) – The operation being performed
  • command (str) – The command being executed
  • response (str) – The response received in error
exception spinnman.exceptions.SpinnmanUnsupportedOperationException(operation)[source]

An exception that indicates that the given operation is not supported

Parameters:operation (str) – The operation being requested