KSeExpr 6.0.0.0
ErrorCode.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2020 L. E. Segovia <amy@amyspark.me>
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
6namespace KSeExpr {
66} // namespace KSeExpr
@ InvalidFormatString
Invalid format string, only v or f is allowed.
Definition ErrorCode.h:59
@ ConditionalTypesNotCompatible
"Types of conditional are not compatible",
Definition ErrorCode.h:41
@ ExpectedStringOrFloatAnyD
"Expected String or Float[d]"
Definition ErrorCode.h:12
@ UndeclaredFunction
"Function " << _name << " has no definition"
Definition ErrorCode.h:37
@ ArgumentTypeMismatch
"Expected "<< type << " for argument, got " << childType
Definition ErrorCode.h:22
@ BadAssignmentOperator
"Assignment operation has bad type: " << _type
Definition ErrorCode.h:39
@ WrongNumberOfArgumentsMultiple3Plus1
"Wrong number of arguments, should be multiple of 3 plus 1"
Definition ErrorCode.h:26
@ SyntaxError
Syntax error.
Definition ErrorCode.h:53
@ ExpectedFloatAnyD
"Expected Float[d]"
Definition ErrorCode.h:14
@ FirstArgumentNotString
"First argument must be a string."
Definition ErrorCode.h:30
@ WrongNumberOfArguments
"Wrong number of arguments, should be 1 to 7"
Definition ErrorCode.h:24
@ FunctionTooManyArguments
"Too many args for function " << _name
Definition ErrorCode.h:47
@ ExpectedFloatOrFloat3
"Expected float or FP[3]"
Definition ErrorCode.h:20
@ UndeclaredVariable
Definition ErrorCode.h:35
@ Unknown
Unknown error (message = %1)
Definition ErrorCode.h:64
@ ExpectedFloatD
"Expected Float[" << d << "]"
Definition ErrorCode.h:16
@ None
OK.
Definition ErrorCode.h:9
@ TypeMismatch12
"Type mismatch. First: " << first << " Second: " << second
Definition ErrorCode.h:18
@ WrongNumberOfArguments1Plus
"Wrong number of arguments, should be >= 1"
Definition ErrorCode.h:28
@ FunctionTooFewArguments
"Too few args for function " << _name
Definition ErrorCode.h:45
@ UnexpectedEndOfFormatString
Unexpected end of format string.
Definition ErrorCode.h:57
@ ExpressionIncompatibleTypes
"Expression generated type " << _parseTree->type() << " incompatible with desired type " << _desiredR...
Definition ErrorCode.h:50
@ IncompleteFormatSpecifier
"incomplete format specifier"
Definition ErrorCode.h:32
@ UnexpectedEndOfExpression
Unexpected end of expression.
Definition ErrorCode.h:55
@ InconsistentDefinition
"Variable " << name() << " defined in conditionals inconsistently."
Definition ErrorCode.h:43
@ WrongNumberOfArgumentsForFormatString
Wrong number of arguments for format string.
Definition ErrorCode.h:61