Exceptions

NoxRunnerError

exception noxrunner.exceptions.NoxRunnerError[source]

Bases: Exception

Base exception for NoxRunner API errors.

NoxRunnerHTTPError

exception noxrunner.exceptions.NoxRunnerHTTPError(status_code, message, response_body='')[source]

Bases: NoxRunnerError

HTTP error from the NoxRunner backend API.

__init__(status_code, message, response_body='')[source]

Initialize HTTP error.

Parameters:
  • status_code (int) – HTTP status code

  • message (str) – Error message

  • response_body (str) – Response body (if available)

__str__()[source]

String representation of the error.