errors

package
v0.0.0-...-267bd09 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2016 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncompleteClause

type IncompleteClause struct {
	PenguonError
	Msg string
}

IncompleteClause can be raised xhen you try to compile a clause that requires some more composition clauses ie: Insert().Compile() will return this error because it misses a .values() before you can call Compile()

type InvalidClause

type InvalidClause struct {
	PenguonError
	Msg string
}

InvalidClause can be raised when the caller tries to add an invalid clause to a specific selectable (ie: insert().Where()

type InvalidComposition

type InvalidComposition struct {
	PenguonError
	Msg string
}

InvalidComposition can be raised when the caller tries to compose an invalid method with a specific selectable (ie: Delete().Values())

type InvalidSelectableAction

type InvalidSelectableAction struct {
	PenguonError
	Msg string
}

InvalidSelectableAction can be raised when the caller tries to set an invalid selectable action on the selectable object (should not happen)

type PenguonError

type PenguonError struct {
	Msg string
}

PenguonError is the basic error we return

func (PenguonError) Error

func (e PenguonError) Error() string

Error implements the error interface

Jump to

Keyboard shortcuts

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