cclErrors

package
v0.0.0-...-e0921b9 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicateFieldError

type DuplicateFieldError struct {
	ModelName string
	FieldName string
}

DuplicateFieldError is an error that is returned when a field with the same name already exists in a model.

func (*DuplicateFieldError) Error

func (d *DuplicateFieldError) Error() string

type DuplicateModelError

type DuplicateModelError struct {
	ModelName string
}

DuplicateModelError is an error that is returned when a model with the same name already exists in a ccl source file / project.

func (*DuplicateModelError) Error

func (d *DuplicateModelError) Error() string

type UnsupportedFieldTypeError

type UnsupportedFieldTypeError struct {
	TypeName       string
	FieldName      string
	ModelName      string
	TargetLanguage string
}

UnsupportedFieldTypeError is an error that is returned when an unsupported field type is encountered in a certain model, for a certain field when compiling to a certain target language.

func (*UnsupportedFieldTypeError) Error

func (u *UnsupportedFieldTypeError) Error() string

type ValidationError

type ValidationError struct {
	Message string
}

ValidationError is an error that is returned when a validation error occurs.

func (*ValidationError) Error

func (v *ValidationError) Error() string

Jump to

Keyboard shortcuts

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