local

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 9 Imported by: 0

README

local

import "github.com/error-fyi/go-fyi/pkg/errorclient/local"

Index

Variables

var (
    ErrSpecificationDoesNotExist = errors.New("manifest file doesn't exist")
)

func New

func New(opts errorclient.ErrClientOptions) errorclient.ErrClient

type Client

type Client struct {
    *errorclient.ErrClientOptions
    Spec *api.Manifest
}

func (*Client) GenerateErrorMessageFromCode
func (l *Client) GenerateErrorMessageFromCode(ctx context.Context, code string) (string, error)

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSpecificationDoesNotExist = errors.New("manifest file doesn't exist")
)

Functions

Types

type Client

type Client struct {
	*errorclient.ErrClientOptions
	Spec *api.Manifest
}

func (*Client) GenerateErrorMessageFromCode

func (l *Client) GenerateErrorMessageFromCode(ctx context.Context, code string) (string, error)

Jump to

Keyboard shortcuts

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