Skip to main content
Failing operations return *nono.Error. Use errors.Is with the exported sentinel errors when you need to branch on the failure kind.
Use errors.As when you need the numeric code or human-readable message from the native library.

Sentinel errors

nono.Error.Is matches by error code, so the native message does not need to match the sentinel’s message.