Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Go
/
Error handling
Which statement about errors.Join is correct?
from Error handling
Go 1.27
intermediate
1 min
Which statement about errors.Join is correct?
errors.Is can match any non-nil child of the joined error
errors.Join returns a non-nil error when every input is nil
errors.Unwrap returns the first child of a joined error
Callers should parse the joined message to identify each child
Check
Ask AI about this kata
Report an error
previous kata
Given an error chain that may contain *PathError, which use of errors.As is correct?
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload