EC
errcodes.dev
HTTP
PostgreSQL
Linux
Python
Docker
21 languages Β· 7,377+ codes
errcodes.dev
/
Go
πΉ
Go Standard Library Errors
Go 1.22+
35 codes
Sentinel errors from os, io, net, http, context, sql and runtime panics
All severities
ERROR
INFO
CRITICAL
All tiers
Common
Notable
Critical
Showing
35
of
35
errors
Code
Message
Severity
Tier
os.ErrNotExist
no such file or directory
ERROR
Common
β
os.ErrPermission
permission denied
ERROR
Common
β
os.ErrExist
file already exists
ERROR
Notable
β
os.ErrClosed
file already closed
ERROR
Notable
β
os.ErrDeadlineExceeded
i/o timeout
ERROR
Notable
β
io.EOF
EOF
INFO
Common
β
io.ErrUnexpectedEOF
unexpected EOF
ERROR
Notable
β
io.ErrClosedPipe
io: read/write on closed pipe
ERROR
Notable
β
io.ErrShortBuffer
short buffer
ERROR
Notable
β
io.ErrShortWrite
short write
ERROR
Notable
β
io.ErrNoProgress
multiple Read calls return no data or error
ERROR
Critical
β
net.ErrClosed
use of closed network connection
ERROR
Notable
β
http.ErrServerClosed
http: Server closed
INFO
Common
β
http.ErrNoCookie
http: named cookie not present
ERROR
Common
β
http.ErrNoLocation
http: no Location header in response
ERROR
Common
β
http.ErrBodyReadAfterClose
http: invalid Read on closed Body
ERROR
Notable
β
http.ErrHandlerTimeout
http: Handler timeout
ERROR
Notable
β
http.ErrLineTooLong
header line too long
ERROR
Notable
β
http.ErrAbortHandler
net/http: abort Handler
INFO
Notable
β
http.ErrContentLength
http: wrote more than the declared Content-Length
ERROR
Notable
β
context.Canceled
context canceled
INFO
Common
β
context.DeadlineExceeded
context deadline exceeded
ERROR
Common
β
sql.ErrNoRows
sql: no rows in result set
INFO
Common
β
sql.ErrConnDone
sql: connection is already closed
ERROR
Notable
β
sql.ErrTxDone
sql: transaction has already been committed or rolled back
ERROR
Notable
β
json.SyntaxError
invalid character β¦ looking for β¦
ERROR
Notable
β
json.UnmarshalTypeError
cannot unmarshal β¦ into Go value of type β¦
ERROR
Notable
β
json.InvalidUnmarshalError
json: Unmarshal(non-pointer β¦)
ERROR
Common
β
bufio.ErrBufferFull
bufio: buffer full
ERROR
Notable
β
bufio.ErrTooLong
bufio.Scanner: token too long
ERROR
Notable
β
strconv.ErrRange
value out of range
ERROR
Notable
β
strconv.ErrSyntax
invalid syntax
ERROR
Common
β
runtime panic (nil pointer)
runtime error: invalid memory address or nil pointer dereference
CRITICAL
Common
β
runtime panic (index out of range)
runtime error: index out of range [N] with length M
CRITICAL
Common
β
runtime panic (slice bounds out of range)
runtime error: slice bounds out of range [low:high]
CRITICAL
Common
β