# Errors

exception nxt.error.ProtocolError

  Raised on error with the NXT brick protocol.

exception nxt.error.SystemProtocolError

  Raised on error with the NXT brick protocol for a system command.

exception nxt.error.FileExistsError

  Raised when trying to create a file which already exists.

exception nxt.error.FileNotFoundError

  Raised when trying to access a file which does not exists.

exception nxt.error.ModuleNotFoundError

  Raised when trying to access a module which does not exists.

exception nxt.error.DirectProtocolError

  Raised on error with the NXT brick protocol for a direct command.

exception nxt.error.EmptyMailboxError

  Raised when trying to read from empty mailbox.

exception nxt.error.I2CError

  Raised on I2C error on a sensor port.

exception nxt.error.NoActiveProgramError

  Raised when no program is running.

exception nxt.error.I2CPendingError

  Raised when an I2C transaction on a sensor port is still in progress.