Standard library / database/sql/driver
driver.ErrSkip
Requests fallback only from explicitly supported fast paths or conversion hooks. Not a general retry signal. The example verifies wrapped-error identity. Expected stdout: 'true\n'.
Formal Syntax & Structure
go syntaxgo
var ErrSkip = errors.New("driver: skip fast-path; continue as if unimplemented")Working Example
Example Snippetgo
package main
import ( "database/sql/driver" "errors" "fmt")
func main() { fmt.Println(errors.Is(fmt.Errorf("wrapped: %w", driver.ErrSkip), driver.ErrSkip)) }