errors

package
v0.0.0-...-e37af68 Latest Latest
Warning

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

Go to latest
Published: May 6, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package errors holds the error objects used by the Frud framework

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverError

type DriverError struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
}

DriverError are errors outputted by the driver object, it will encapsulate any errors outputted by their associated database.

func (DriverError) Error

func (i DriverError) Error() string

Error standard error to string function

type ValidationError

type ValidationError struct {
	Message string `json:"message"`
}

func (ValidationError) Error

func (i ValidationError) Error() string

Jump to

Keyboard shortcuts

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