Status Codes Question (Forbidden/Internal Server Error)

Hi folks, 

I came across Gemini a couple days ago when I was looking things up in 
preparation to write a gopher server for practice in a language I'm 
learning, and decided to crank out a Gemini server instead. I'll probably 
send an announce for the code and my server tomorrow, but in the meantime...

I have a pretty simple question that I wasn't able to find anywhere on the 
mailing list or elsewhere:

Are there equivalents to the forbidden and internal server error status 
codes in HTTP? Alternatively, what extant status codes would y'all 
recommend using to indicate those errors?

It's mostly for debugging sake, but I found myself wanting a way to say 
"oops! File permissions are screwed up!" or "oops! I wrote some bad code 
and there's an unexpected error somewhere". Right now I use 51 for 
permissions and 59 for a catch all error, but I feel like they're 
semantically different enough that it irks me to use them.

Thanks and look forward to talking with y'all more,

--Caranatar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200716/98cc
8498/attachment.htm>

---

Next in thread (2 of 2): 🗣️ Sean Conner (sean (a) conman.org)

View entire thread.