...
Package errors
In the call graph viewer below, each node
is a function belonging to this package
and its children are the functions it
calls—perhaps dynamically.
The root nodes are the entry points of the
package: functions that may be called from
outside the package.
There may be non-exported or anonymous
functions among them if they are called
dynamically from another package.
Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring func
token.
Functions may be omitted if they were
determined to be unreachable in the
particular programs or tests that were
analyzed.
Variables
var (
Internal = errors.New("internal error")
Filesystem = errors.New("filesystem error")
Parsing = errors.New("error parsing input data")
Config = errors.New("error handling config file")
Database = errors.New("database error")
CantOpenDB = errors.New("unable to open the database")
DBOperFailed = errors.New("error operating on the database")
InconsistentDB = errors.New("the database contains inconsistent data")
NoSuchEntity = errors.New("can't find requested entity")
WrongNickname = errors.New("unacceptable nickname")
AlreadyLoggedIn = errors.New("another user is already logged in")
NotLoggedIn = errors.New("you have to login first")
AlreadyRegistered = errors.New("such user is already registered")
NoSuchUser = errors.New("can't find specified user")
NoSuchModerator = errors.New("can't find specified moderator")
AlreadyModerator = errors.New("specified user is already a moderator")
WrongPacketType = errors.New("wrong packet type")
MalformedPayload = errors.New("payload of the packet is malformed")
ProtocolViolation = errors.New("protocol violation detected")
UnsupportedProtocol = errors.New("requested version of the protocol is not supported")
ClosedConnection = errors.New("use of closed connection")
InvalidPeer = errors.New("peer validation failed")
WrongArguments = errors.New("wrong arguments")
AlreadySubscribed = errors.New("you are already subscribed to the specified topic")
NotSubscribed = errors.New("you are not subscribed to the specified topic")
ForbiddenOperation = errors.New("forbidden operation")
UserBanned = errors.New("user is banned")
)