Type alias TOIMessageEventError

TOIMessageEventError: TOIMessage<Error> & {
    code?: number | string;
    data?: {
        code: number | string;
        message: string;
    };
    message?: string;
}

Type declaration

  • Optional code?: number | string
  • Optional data?: {
        code: number | string;
        message: string;
    }
    • code: number | string
    • message: string
  • Optional message?: string

Generated using TypeDoc