package
0.16.1
Repository: https://github.com/ssh2go/atlas-app-toolkit.git
Documentation: pkg.go.dev

# README

Error details

Package contains proto representation for details section inside error response.

Proto file defines TargetInfo message which is a default representation of error details that conforms REST API Syntax Specification. It has it's own specific marshal/unmarshal logic.

This functionality should not be directly used in your code. Use WithDetails function from errors package instead.

# Functions

New returns a TargetInfo representing c, target and msg.
NewfTargetInfo returns NewTargetInfo(c, fmt.Sprintf(format, a...)).

# Structs

TargetInfo is a default representation of error details that conforms REST API Syntax Specification.