error

package
v0.0.0-...-0e47a65 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Flickr.go error system

Index

Constants

View Source
const (
	ApiError          = 10
	RequestTokenError = 20
	OAuthTokenError   = 30
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	ErrorCode int
	Message   string
}

func NewError

func NewError(errorCode int, message string) *Error

func (Error) Error

func (e Error) Error() string

Implement error interface

Jump to

Keyboard shortcuts

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