.
,-. ,-. . . ,-. ,-. ,-.    ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . .
                                                             /|
                                                            `-'

=> Profile for ckaznocha

ckaznocha / gemini

A Go server implementation for the Gemini protocol.

git clone https://source.community/ckaznocha/gemini.git

=> โค๏ธ Likes (1)
=> ๐Ÿ™ Branches
=> ๐Ÿ“ Log
=> ๐ŸŒณ File Tree

/errors.go (main)

=> โ†‘ /

Blob

=> View raw contents of /errors.go (main)

โ”€โ”€โ”€โ”€โ•ฎ
   1โ”‚ package gemini
   2โ”‚ 
   3โ”‚ import (
   4โ”‚ 	"errors"
   5โ”‚ 	"fmt"
   6โ”‚ )
   7โ”‚ 
   8โ”‚ // Sentinel errors.
   9โ”‚ var (
  10โ”‚ 	// Listener sentinels.
  11โ”‚ 	ErrClosingListeners  = errors.New("error closing listeners")
  12โ”‚ 	ErrClosingListener   = errors.New("error closing listener")
  13โ”‚ 	ErrOpeningConnection = errors.New("error opening connection")
  14โ”‚ 
  15โ”‚ 	// Request sentinels.
  16โ”‚ 	ErrMaxRequestLengthExceeded = fmt.Errorf(
  17โ”‚ 		"the request length exceeded the max size of %d bytes",
  18โ”‚ 		maxRequestLength,
  19โ”‚ 	)
  20โ”‚ 	ErrRequestRead = errors.New("unable to read request")
  21โ”‚ 
  22โ”‚ 	// Server sentinels.
  23โ”‚ 	ErrServerShutdown = errors.New("server shutdown")
  24โ”‚ 	ErrStartingServer = errors.New("unable to start server")
  25โ”‚ 	ErrServing        = errors.New("unable to serve requests")
  26โ”‚ 	ErrIO             = errors.New("IO error")
  27โ”‚ 
  28โ”‚ 	// URL sentinels.
  29โ”‚ 	ErrMalformedURI = errors.New("malformed URI")
  30โ”‚ )
โ”€โ”€โ”€โ”€โ•ฏ

ยท ยท ยท

=> ๐Ÿก Home | ๐Ÿ™‹ FAQs | ๐Ÿ•ต๏ธ Privacy Policy | ๐Ÿค Terms & Conditions | ๐Ÿ’Ž Official Gemlog | info@source.community

ยฉ 2025 source.community

Proxy Information
Original URL
gemini://source.community/ckaznocha/gemini/blob/main/errors.go
Status Code
Success (20)
Meta
text/gemini; charset=utf-8; lang=en
Capsule Response Time
575.508074 milliseconds
Gemini-to-HTML Time
1.443352 milliseconds

This content has been proxied by September (3851b).