Constructs a failure Effect for monitor registers that cannot be written.
Effect
Monitor registers are read-only. Calling encode() on a read-only schema fails with a ParseResult.Type error whose message indicates the register is read-only.
encode()
ParseResult.Type
Human-readable name of the register.
The value that was passed during encode.
The Effect AST describing the expected type.
AST
Constructs a failure
Effectfor monitor registers that cannot be written.Monitor registers are read-only. Calling
encode()on a read-only schema fails with aParseResult.Typeerror whose message indicates the register is read-only.