Go Error Codes
Go errors explained in plain English. Find your error below.
Error Codes
deadlock
Go
Programming Language
A deadlock in Go means every goroutine in your program is blocked and waiting — …
cannot use as type
Go
Programming Language
The Go error 'cannot use X as type Y' means you passed or assigned a value of …
import cycle not allowed
Go
Programming Language
Go's 'import cycle not allowed' error means two or more packages import each …
multiple-value in single-value context
Go
Programming Language
This Go error means you are using a function that returns multiple values in a …
nil pointer dereference
Go
Programming Language
A nil pointer dereference in Go means your code tried to access a value through …
too many arguments
Go
Programming Language
Go's 'too many arguments in call to' error means you called a function with more …
undefined
Go
Programming Language
A Go 'undefined' error means your code references a variable, function, or type …
runtime error: index out of range
Go
Programming Language
Index out of range is a runtime panic in Go — it means you tried to access a …
integer overflow (silent)
Go
Programming Language
Integer overflow in Go happens when a calculation produces a number larger than …
interface conversion: type assertion failed
Go
Programming Language
This panic means you tried to assert that an interface value holds a specific …
panic: send on closed channel
Go
Programming Language
This panic means a goroutine tried to send data to a channel that has already …