menu

SerialErrorKind

import { SerialErrorKind } from "destack:device/binding";

Serial error kind.

language/library/src/device/binding/serial.ds:208:221
1export enum SerialErrorKind {2    Unknown = 1,3    Break = 2,4    Framing = 3,5    Parity = 4,6    Overrun = 5,7    BufferOverflow = 6,8}

Variants

Unknown = 1

Host did not provide a stronger error classification.

Break = 2

Break condition was detected on the line.

Framing = 3

Framing error was detected on the line.

Parity = 4

Parity error was detected on the line.

Overrun = 5

Receiver overrun was detected on the line.

BufferOverflow = 6

Host receive buffer overflow was detected.