Documentation ¶
Index ¶
Constants ¶
View Source
const Prefix = "opcua: "
Prefix is the default error string prefix
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
Equal returns true if the two errors have the same error message.
todo(fs): the reason we need this function and cannot just use todo(fs): reflect.DeepEqual(err1, err2) is that by using github.com/pkg/errors todo(fs): the underlying stack traces change and because of this the errors todo(fs): are no longer comparable. This is a downside of basing our errors todo(fs): errors implementation on github.com/pkg/errors and we may want to todo(fs): revisit this. todo(fs): See https://play.golang.org/p/1WqB7u4BUf7 (by @kung-foo)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.