package
2.6.0
Repository: https://github.com/plgd-dev/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.