DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
errors.As()
Examples using...
errors.As()
Recent
Examples
As in Go
by GoDoc
Go
errors.As
fmt.Println
errors
fmt
os
As finds the first error in err's chain that matches target, and if so, sets target to that error value and returns true.