Device.status

Checks whether an error has previously occurred for this device. Since 1.10

class Device
status
()

Return Value

CAIRO_STATUS_SUCCESS on success or an error code if the device is in an error state.