---
sidebar_label: CDPSessionOnMessageObject.error
# CDPSessionOnMessageObject.error property
**Signature:**
```typescript
interface CDPSessionOnMessageObject {
error: {
message: string;
data: any;
code: number;
};
}
```