A stream refusing a write by its state, with Node's code and message: the cause
Effect's Node platform gives the PlatformError (ERR_STREAM_WRITE_AFTER_END,
"write after end", once the stream ended; ERR_STREAM_PREMATURE_CLOSE, "Premature
close", once it was destroyed).
Attributes#
| Attribute | Type | Description |
|---|---|---|
code | = code |
Functions#
__init__#
__init__(code, message) -> None| Parameter | Type | Description |
|---|---|---|
code | str | |
message | str |
def __init__(self, code: str, message: str) -> None:
super().__init__(message)
self.code = code