shishi_krberror_message(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ shishi_krberror_message(3) ✨

okay bestie, welcome to the shishi manual section 3 πŸ’– this one's a lil API function and it's lowkey a lifesaver, no cap.


🌸 NAME 🌸

shishi_krberror_message β€” it's an API function, bestie. that's the whole vibe.


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

const char * shishi_krberror_message(Shishi * handle, Shishi_asn1
krberror);

like, that's the whole call. two args, one string back. we love a low-effort icon πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, and it's gotta be allocated by shishi_init(). that's its origin story, don't skip it.
  • Shishi_asn1 krberror β€” a KRB-ERROR structure that's carrying an error code inside it. the drama is already there, we're just reading it.

πŸ’œ DESCRIPTION πŸ’œ

so what this does is: it extracts the error code (peep shishi_krberror_errorcode_fast() for that part of the journey) and then hands you back the error message (that's shishi_krberror_errorcode_message() doing the talking).

extract code β†’ get message. that's it. that's the plot. 🌈


⭐ RETURN VALUE ⭐

it returns a string describing the error code. and the way it will always return a string even if the error code isn't known?? yeah. always. even when it has no idea what's going on it still shows up with something to say. main character energy fr fr πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not you being the bug reporter of the group chat 😭 spill it to <bug-shishi@gnu.org>.


Copyright Β© 2002-2022 Simon Josefsson.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

(iconic of them honestly, no gatekeeping 🫢)


🌈 SEE ALSO 🌈

the full documentation for shishi is maintained as a Texinfo manual. if the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. go get that lore bestie 🧚


and that's a wrap!! this page is from shishi version 1.0.3, so if you're quoting it in the group chat, you know the source πŸ’– bye bestie, go read some KRB-ERRORs ✨