Example CaptureError.fromObject()