Error

class wpilib.Error(*args, **kwargs)

Bases: pybind11_builtins.pybind11_object

Error object represents a library error.

Overloaded function.

  1. __init__(self: wpilib._wpilib.Error) -> None

  2. __init__(self: wpilib._wpilib.Error, code: int, contextMessage: str, filename: str, function: str, lineNumber: int, originatingObject: wpilib._wpilib.ErrorBase) -> None

clear(self: wpilib.Error) → None
getCode(self: wpilib.Error) → int
getFilename(self: wpilib.Error) → str
getFunction(self: wpilib.Error) → str
getLineNumber(self: wpilib.Error) → int
getMessage(self: wpilib.Error) → str
getOriginatingObject(self: wpilib.Error)wpilib.ErrorBase
getTimestamp(self: wpilib.Error) → float
set(self: wpilib.Error, code: int, contextMessage: str, filename: str, function: str, lineNumber: int, originatingObject: wpilib.ErrorBase) → None