1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:38:33 -06:00
go/oracle/serial
Daniel Morsing 25f58f97ce x/tools/oracle: add whicherrs query mode
The whicherrs query mode takes the position of an error and returns the set of constants, globals and types visible from within the scope of the error being queried.
It is meant to be used as a shortcut to find out which errors should be handled for a given functions call.

LGTM=adonovan
R=golang-codereviews, dominik.honnef, adonovan
CC=golang-codereviews
https://golang.org/cl/167420043
2014-12-05 15:51:34 +00:00
..
serial.go x/tools/oracle: add whicherrs query mode 2014-12-05 15:51:34 +00:00