matterbridge/vendor/github.com/slack-go/slack/internal/errorsx/errorsx.go

9 lines
172 B
Go

package errorsx
// String representing an error, useful for declaring string constants as errors.
type String string
func (t String) Error() string {
return string(t)
}