errors

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsApplicationExists

func IsApplicationExists(err error) bool

func IsApplicationNotFound

func IsApplicationNotFound(err error) bool

func IsCollectorExists

func IsCollectorExists(err error) bool

func IsCollectorNotFound

func IsCollectorNotFound(err error) bool

func IsWebhookNotFound

func IsWebhookNotFound(err error) bool

Types

type ApplicationExists

type ApplicationExists struct {
	Name string
}

func (ApplicationExists) Error

func (err ApplicationExists) Error() string

type ApplicationNotFound

type ApplicationNotFound struct {
	ID    int64
	Name  string
	Token string
}

func (ApplicationNotFound) Error

func (err ApplicationNotFound) Error() string

type CollectorExists

type CollectorExists struct {
	Name string
}

func (CollectorExists) Error

func (err CollectorExists) Error() string

type CollectorNotFound

type CollectorNotFound struct {
	ID     int64
	Name   string
	Secret string
}

func (CollectorNotFound) Error

func (err CollectorNotFound) Error() string

type WebhookNotFound

type WebhookNotFound struct {
	ID int64
}

func (WebhookNotFound) Error

func (err WebhookNotFound) Error() string

Jump to

Keyboard shortcuts

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