Documentation ¶
Index ¶
- Variables
- func MakeErrorMessage(message string) string
- func WrapAndTrace(err error, messages ...string) error
- type BrevError
- type CredentialsFileNotFound
- type DeclineToLoginError
- type ErrReportBreadCrumb
- type ErrorReporter
- type ErrorUser
- type SentryErrorReporter
- func (s SentryErrorReporter) AddBreadCrumb(bc ErrReportBreadCrumb)
- func (s SentryErrorReporter) AddTag(key string, value string)
- func (s SentryErrorReporter) Flush()
- func (s SentryErrorReporter) ReportError(e error) string
- func (s SentryErrorReporter) ReportMessage(msg string) string
- func (s SentryErrorReporter) SetUser(user ErrorUser)
- func (s SentryErrorReporter) Setup() func()
- type ValidationError
- type WorkspaceNotRunning
Constants ¶
This section is empty.
Variables ¶
View Source
var NetworkErrorMessage = "possible internet connection problem"
Functions ¶
func MakeErrorMessage ¶
func WrapAndTrace ¶
Types ¶
type CredentialsFileNotFound ¶
type CredentialsFileNotFound struct{}
func (*CredentialsFileNotFound) Directive ¶
func (e *CredentialsFileNotFound) Directive() string
func (*CredentialsFileNotFound) Error ¶
func (e *CredentialsFileNotFound) Error() string
type DeclineToLoginError ¶
type DeclineToLoginError struct{}
func (*DeclineToLoginError) Directive ¶
func (d *DeclineToLoginError) Directive() string
func (*DeclineToLoginError) Error ¶
func (d *DeclineToLoginError) Error() string
type ErrReportBreadCrumb ¶ added in v0.6.72
type ErrorReporter ¶ added in v0.6.63
type ErrorReporter interface { Setup() func() Flush() ReportMessage(string) string ReportError(error) string AddTag(key string, value string) SetUser(user ErrorUser) AddBreadCrumb(bc ErrReportBreadCrumb) }
func GetDefaultErrorReporter ¶ added in v0.6.63
func GetDefaultErrorReporter() ErrorReporter
type SentryErrorReporter ¶ added in v0.6.63
type SentryErrorReporter struct{}
func (SentryErrorReporter) AddBreadCrumb ¶ added in v0.6.72
func (s SentryErrorReporter) AddBreadCrumb(bc ErrReportBreadCrumb)
func (SentryErrorReporter) AddTag ¶ added in v0.6.63
func (s SentryErrorReporter) AddTag(key string, value string)
func (SentryErrorReporter) Flush ¶ added in v0.6.63
func (s SentryErrorReporter) Flush()
func (SentryErrorReporter) ReportError ¶ added in v0.6.63
func (s SentryErrorReporter) ReportError(e error) string
func (SentryErrorReporter) ReportMessage ¶ added in v0.6.63
func (s SentryErrorReporter) ReportMessage(msg string) string
func (SentryErrorReporter) SetUser ¶ added in v0.6.63
func (s SentryErrorReporter) SetUser(user ErrorUser)
func (SentryErrorReporter) Setup ¶ added in v0.6.63
func (s SentryErrorReporter) Setup() func()
type ValidationError ¶ added in v0.6.63
type ValidationError struct {
Message string
}
func NewValidationError ¶ added in v0.6.63
func NewValidationError(message string) ValidationError
func (ValidationError) Error ¶ added in v0.6.63
func (v ValidationError) Error() string
type WorkspaceNotRunning ¶ added in v0.6.91
type WorkspaceNotRunning struct {
Status string
}
func (WorkspaceNotRunning) Error ¶ added in v0.6.91
func (e WorkspaceNotRunning) Error() string
Click to show internal directories.
Click to hide internal directories.