text/errors.go

Functions Structs

Functions

func Error

func (e *DirectionMismatchError) Error() string {
	return "text: face direction mismatch"
}

Structs

type DirectionMismatchError struct

DirectionMismatchError is returned when faces have different directions.

type DirectionMismatchError struct {
	Index		int
	Got		Direction
	Expected	Direction
}