Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DuplicateFieldError ¶
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 UnsupportedFileNamingStyleError ¶ added in v0.0.3
type UnsupportedFileNamingStyleError struct {
ModelName string
StyleName string
SupportedStyles []string
TargetLanguage string
}
UnsupportedFileNamingStyleError is an error that is returned when an unsupported file naming style is encountered for a certain model when compiling to a certain target language.
func (*UnsupportedFileNamingStyleError) Error ¶ added in v0.0.3
func (u *UnsupportedFileNamingStyleError) Error() string
type UnsupportedTypeDefinitionError ¶
UnsupportedTypeDefinitionError is an error that is returned when an unsupported type definition is encountered when compiling to a certain target language.
func (*UnsupportedTypeDefinitionError) Error ¶
func (u *UnsupportedTypeDefinitionError) 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