Optionaloptions: SerialSessionOptionsSerialError when option values are out of range: SerialErrorCode.INVALID_CONNECTION_OPTIONS, SerialErrorCode.INVALID_FILTER_OPTIONS, SerialErrorCode.INVALID_RECEIVE_REPLAY_OPTIONS, SerialErrorCode.INVALID_TERMINAL_BUFFER_OPTIONS, or SerialErrorCode.INVALID_LINE_BUFFER_OPTIONS.
Merge and validate SerialSessionOptions into a fully resolved options object for internal session use.