Checks whether an error has previously occurred for this device.
cairo.types.Status.Success on success or an error code if the device is in an error state.
Checks whether an error has previously occurred for this device.