What the browser, the library or the server threw; the library throws plain strings for malformed credentials.
The words for each failure.
The user cancelled the device's prompt, or it timed out.
The device already holds a passkey for the account.
Anything else.
The page is not served over HTTPS or on localhost.
Explain why a passkey request stopped, in words a user can act on: a server refusal by its code, and the browser's own errors, in the labels given.