Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions wit-0.3.0-draft/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ interface types {

/// Defines the case payload type for `DNS-error` above:
record DNS-error-payload {
rcode: option<string>,
info-code: option<u16>
/// An indication of the reason for the DNS error, if known.
///
/// This string is meant only for human consumption, and not for machine parsing.
reason: option<string>,
}

/// Defines the case payload type for `TLS-alert-received` above:
Expand Down
Loading