package
2.0.0-20210608155919-691db5a1ade4
Repository: https://github.com/matrix-org/go-coap.git
Documentation: pkg.go.dev

# Functions

Code returns the Code of the error if it is a Status error, codes.OK if err is nil, or codes.Unknown otherwise.
No description provided by the author
Convert is a convenience function which removes the need to handle the boolean return value from FromError.
Error returns an error representing c and msg.
Errorf returns Error(c, fmt.Sprintf(format, a...)).
FromContextError converts a context error into a Status.
FromError returns a Status representing err if it was produced from this package or has a method `COAPError() *Status`.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Status holds error of coap.