v.vet #

enum ErrorKind #

enum ErrorKind {
	error
	warning
}

enum ErrorType #

enum ErrorType {
	default
	space_indent
	trailing_space
}

ErrorType is used to filter out false positive errors under specific conditions

enum FixKind #

enum FixKind {
	unknown
	doc
	vfmt
}

struct Error #

struct Error {
pub mut:
	kind ErrorKind [required]
pub:
	message   string         [required]
	details   string
	file_path string
	pos       token.Position
	fix       FixKind        [required]
	typ       ErrorType      [required]
}