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