diagnostic

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package diagnostic gives read failures stable codes and safe recovery hints.

Index

Constants

View Source
const ConfigurationHint = "Check the selected host and authentication settings. " +
	"If you use profiles, run databricks auth profiles."

ConfigurationHint avoids a login command that could change M2M or CI authentication.

Variables

This section is empty.

Functions

This section is empty.

Types

type Details

type Details struct {
	Code       string `json:"code,omitempty"`
	Hint       string `json:"hint,omitempty"`
	APICode    string `json:"api_code,omitempty"`
	HTTPStatus int    `json:"http_status,omitempty"`
}

Details supplements an error without changing its message or cause.

func Describe

func Describe(err error) Details

Describe uses typed causes, not message text, to select recovery guidance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL