๐Ÿ’พ Archived View for source.community โ€บ ckaznocha โ€บ gemini โ€บ blob โ€บ main โ€บ errors.go captured on 2023-07-10 at 13:28:47. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-01-29)

โžก๏ธ Next capture (2024-02-05)

-=-=-=-=-=-=-

                                                         .
,-. ,-. . . ,-. ,-. ,-.    ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . .
`-. | | | | |   |   |-'    |   | | | | | | | | | | | | | |  | |
`-' `-' `-^ '   `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-|
                                                             /|
                                                            `-'

Profile for ckaznocha

ckaznocha / gemini

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

Branches

Log

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

ยฉ 2023 source.community