sferror

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SFError

type SFError struct {
	FieldError err `json:"error"`
}

An SFError represents the error format that can be rendered by stnadardfile server.

func New

func New(message string) *SFError

New returns a new SFError with the given message.

func (*SFError) Error

func (e *SFError) Error() string

Error implements error interface.

Jump to

Keyboard shortcuts

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