cockroach: github.com/cockroachdb/cockroach/pkg/util/errorutil/unimplemented Index | Files

package unimplemented

import "github.com/cockroachdb/cockroach/pkg/util/errorutil/unimplemented"

Index

Package Files

unimplemented.go

func New Uses

func New(feature, msg string) error

New constructs an unimplemented feature error.

func NewWithDepthf Uses

func NewWithDepthf(depth int, feature, format string, args ...interface{}) error

NewWithDepthf constructs an implemented feature error, tracking the context at the specified depth.

func NewWithIssue Uses

func NewWithIssue(issue int, msg string) error

NewWithIssue constructs an error with the given message and a link to the passed issue. Recorded as "#<issue>" in tracking.

func NewWithIssueDetail Uses

func NewWithIssueDetail(issue int, detail, msg string) error

NewWithIssueDetail constructs an error with the given message and a link to the passed issue. Recorded as "#<issue>.detail" in tracking. This is useful when we need an extra axis of information to drill down into.

func NewWithIssueDetailf Uses

func NewWithIssueDetailf(issue int, detail, format string, args ...interface{}) error

NewWithIssueDetailf is like UnimplementedWithIssueDetail but the message is formatted.

func NewWithIssueHint Uses

func NewWithIssueHint(issue int, msg, hint string) error

NewWithIssueHint constructs an error with the given message, hint, and a link to the passed issue. Recorded as "#<issue>" in tracking.

func NewWithIssuef Uses

func NewWithIssuef(issue int, format string, args ...interface{}) error

NewWithIssuef constructs an error with the formatted message and a link to the passed issue. Recorded as "#<issue>" in tracking.

func Newf Uses

func Newf(feature, format string, args ...interface{}) error

Newf constructs an unimplemented feature error. The message is formatted.

Package unimplemented imports 2 packages (graph) and is imported by 23 packages. Updated 2019-08-11. Refresh now. Tools for package owners.