Module v.vet stdlib

v.vet
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
1
Imported by:
2
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

This section is empty.

Structs

#struct Error

minify
pub struct Error {
pub mut:
	kind ErrorKind [required]
pub:
	// General message
	message   string    [required]
	details   string    // Details about how to resolve or fix the situation
	file_path string    // file where the error have origin
	pos       token.Pos // position in the file
	fix       FixKind   [required]
	typ       ErrorType [required]
}

Interfaces

This section is empty.

Enums

#enum ErrorKind

pub enum ErrorKind {
	error
	warning
}

#enum FixKind

pub enum FixKind {
	unknown
	doc
	vfmt
}

#enum ErrorType

pub enum ErrorType {
	default
	space_indent
	trailing_space
}

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