apple/pkl

Documented errors, page 3 of 6. Back to apple/pkl

Code / MessageTypeSeverityTags
expectedSingleElementCollection
expectedSingleElementCollection
error_code error pkl, collection, validation
invalidGlobNonHierarchicalUri
invalidGlobNonHierarchicalUri
error_code error glob, uri, pkl
invalidModuleUri
invalidModuleUri
error_code error pkl, uri, analyze, invalid-input
Unexpected character
exception error lexer, syntax-error, unexpected-character, spread
ioErrorMakingHttpGet
ioErrorMakingHttpGet
error_code error pkl, network, http, package-management
invalidGlobTooComplex
invalidGlobTooComplex
error_code error glob, performance, recursion-limit, pkl
resourcePastRootDir|modulePastRootDir
resourcePastRootDir|modulePastRootDir
error_code error security, path-traversal, pkl, filesystem
Unrecognized member code
exception error pkl, binary-decoding, serialization
typeMismatch
Expected value of type
error_code error pkl, type-mismatch, boolean, conditional
unableToAccessPublishedPackage
ErrorMessages.create("unableToAccessPublishedPackage", pkg.name()…
error_code error http, network, publishing
Unexpected token ` `. Expected ` `.
exception error parser, syntax-error, unexpected-token
unexpectedTokenForType2
Unexpected token ` `. Expected a type or ` `.
exception error pkl, parser, syntax-error, type-annotation
cannotRenderNonScalarMap
cannotRenderNonScalarMap
error_code error pkl, renderer, serialization, map-keys
cyclicTypeAlias
cyclicTypeAlias
error_code error pkl, typealias, circular-reference
invalidPackageZipUrl
invalidPackageZipUrl
error_code error pkl, packages, security, https, metadata
Output file `$outputFile` is a directory. Did you mean…
exception error cli, output-path, filesystem
noDescendentPathBetweenModules
noDescendentPathBetweenModules
exception error pkl, module, uri, stdlib
expectedModuleAsArgument
expectedModuleAsArgument
error_code error pkl, reflection, stdlib, argument-type
'" + ch + "'
exception error json, parser, syntax-error, pkl
commandOptionsTypeNotClass
commandOptionsTypeNotClass
error_code error pkl, cli, command-spec, types
JavaType token must be parameterized.
exception error generics, super-type-token, reflection, java, pkl
methodNotDefined5
methodNotDefined5
error_code error pkl, type-mismatch, method-resolution
I/O error reading ` `.
exception error io, file-read, wrapped-exception
type mismatch: value is not a Function
exception error pkl, type-mismatch, function-type, truffle
VmTypeMismatchException.Reference (referent type is not a…
exception error pkl, type-mismatch, reference-type
',' or '}'
exception error json, parser, syntax-error, pkl
type mismatch: value does not conform to declared type…
exception error pkl, type-mismatch, typecheck
Unable to decode of length , exceeded maximum collection…
validation error pkl, binary-decoder, limits, collections
cannotAddElementWithEntrySyntax
Cannot use entry syntax to add an element.
exception error pkl, listing, entry-syntax
commandOptionBothFlagAndArgument
commandOptionBothFlagAndArgument
error_code error pkl, cli, command-spec, annotations
Error serializing `$path`.
exception error json, serialization, wrapped-exception
Values of type `DataSize` cannot be rendered as YAML. Value
exception error yaml, rendering, data-size, pkl, unsupported
invalidConstObjectMemberModifier
invalidConstObjectMemberModifier
error_code error pkl, modifiers, object-members, compile-error
ioErrorWritingTestOutputFile
ioErrorWritingTestOutputFile
error_code error pkl, io, filesystem, testing
type constraint violation: value must not be null (non-null…
exception error pkl, null, type-constraint, nonnull
Cannot generate Kotlin enum class for Pkl type alias
exception error kotlin, codegen, enum, invalid-identifier
Error: missing option
console error cli, pkl, missing-option, picocli
invalidLineContinuationEscapeSequenceWhitespace
Invalid line continuation escape sequence. Whitespace between the continuation…
exception error lexer, pkl, escape-sequence, line-continuation, whitespace
<prints command help and exits with code 1>
console warning cli, pkl, help, usage
cannotInvokeSupermethodFromHere
cannotInvokeSupermethodFromHere
error_code error pkl, super, class
externalReaderAlreadyTerminated
externalReaderAlreadyTerminated
exception error pkl, process, subprocess-crash, reader
httpRedirectInvalidUri
httpRedirectInvalidUri
exception error http, redirect, uri
cannotFindDependencyInPackage
cannotFindDependencyInPackage
error_code error java, package, dependency, pkl-project
cannotHaveRelativeFragment
cannotHaveRelativeFragment
error_code error pkl, uri, fragment
Failed to create an evaluator. $e
exception error protocol, evaluator, invalid-argument
invalidSeparatorPosition
Unexpected separator character. The separator character (`_`) cannot follow…
exception error lexer, pkl, number-literal, separator
invalidUriMissingFragment
invalidUriMissingFragment
error_code error pkl, uri, missing-fragment
methodNotDefined3
methodNotDefined3
error_code error pkl, type-mismatch, method-resolution
Output path `$outputDir` exists and is not a directory.
exception error cli, filesystem, output-path
Cannot resolve relative URI
console error uri, module-resolution, internal-error
cannotConvertToIsoDuration
cannotConvertToIsoDuration
error_code error pkl, duration, iso-8601, overflow
outerIsNotConst
outerIsNotConst
error_code error
doesNotContainLiteralMatch
doesNotContainLiteralMatch
exception error pkl, string, pattern-not-found
',' or ']'
exception error json, pkl, parser, syntax
unexpectedToken2
Unexpected token ` `. Expected ` ` or ` `.
exception error pkl, parser, object-body
missingLocalPropertyValue
missingLocalPropertyValue
error_code error pkl, ast, local, property
VmTypeMismatchException.Simple (value is not an Int)
exception error pkl, type-mismatch, int
No stack frame transformer set.
validation error
Unexpected runtimeData line: $line
exception error parsing, legacy-format, corrupt-data
cannotInstantiateAbstractClass
cannotInstantiateAbstractClass
error_code error pkl, class, instantiation, type-system
Failed to parse transitive imports from
exception error gradle, import-graph, parse-error, build
(request was rewritten: -> )
exception error http, io, uri-rewrite
Unexpected EOF
exception error msgpack, decoding, eof, pkl-binary
unexpectedCurlyProbablyAmendsExpression
Unexpected token: `' )
exception error parser, amends, object-body, syntax
cannotDefineExternalMember
cannotDefineExternalMember
error_code error pkl, parser, external, stdlib
Docsite is not up to date. Expected
exception error versioning, migration, stale-output
invalidUri
invalidUri
validation error pkl, uri, configuration, proxy
thisIsNotConst
thisIsNotConst
error_code error
type mismatch: value is not one of the expected string…
exception error pkl, type-mismatch, string-literal, enum
unexpectedCharacter
Unexpected character
exception error lexer, pkl, unicode, escape-sequence
fatal: failed to detach response dispatch thread from…
console error
Plugin `org.pkl` requires Gradle
exception error gradle, version-check, build, incompatibility
cannotFindQualifiedType
cannotFindQualifiedType
error_code error pkl, type-resolution, import
Type argument ` ` for type parameter ` ` is not within…
exception error java, generics, bounded-type-parameter, type-argument
danglingDocComment
Dangling documentation comment.
exception error pkl, parser, doc-comment, syntax
Expected HTTP(S) URL, but got:
validation error pkl, url, package-management
Failed to fetch dependency metadata for
exception error network, packages, dependencies, cli
invalidObjectMemberModifier
invalidObjectMemberModifier (dynamic errorMessage key)
error_code error pkl, parser, modifier, validation
methodNotDefined2
methodNotDefined2
error_code error pkl, type-mismatch, method-resolution
Node ` ` of type ` ` does not have a key named ` `…
exception error config, pkl, map, missing-key, lookup
objectCannotHaveEntry
Object of type ` ` cannot have an entry.
error_code error pkl, typed-object, entry, object-shape
Pkl union types are not supported by the Java code…
exception error java, codegen, union-type, unsupported-type
Cannot convert pkl.base#Int
exception error conversion, range, integer-overflow, pkl, mapping
Could not find a doc-package-info.pkl for module $uri
exception error cli, module-resolution, path-scope
Output file conflict: `output.files` entries
exception error cli, file-conflict, duplicate-output
testsFailed
ErrorMessages.create("testsFailed")
error_code error testing, test-failure, cli, exit-code
type mismatch: value is not of type Dynamic
exception error pkl, type-mismatch, dynamic, typecheck
abstractMemberCannotHaveBody
abstractMemberCannotHaveBody
error_code error pkl, ast-builder, abstract-member, compile-error
cannotParseCertFile
cannotParseCertFile
exception error http, tls, parsing, io
invalidProperty
Invalid property definition. Expected a type annotation, `=` or `{`.
error_code error
operatorNotDefinedLeft
operatorNotDefinedLeft
error_code error logical-operator, type-error, pkl
Unexpected empty object array value
exception error msgpack, decoding, pkl-binary, malformed-input
missingVersionInPackageUri
missingVersionInPackageUri
error_code error pkl, package-uri, version, uri-validation
objectAmendmentCannotHaveParameters
Expected a function that returns an object, but got an object.
exception error pkl, object-amendment, parameters, syntax
valid escape sequence
exception error json, parser, string-escaping, pkl
commandArgumentUnexpectedNonRepeatedNullableType
commandArgumentUnexpectedNonRepeatedNullableType
error_code error pkl, cli, argument, nullability
Error deserializing ` `.
exception error json, deserialization, corrupt-data
mappingAmendmentCannotHaveParameters
Expected a function that returns a `Mapping`, but got a `Mapping`.
exception error pkl, mapping, amends, parameters
MappingException(key, e)
exception error json, version-parsing, pkl
Cannot convert pkl.base#Int
exception error conversion, range, integer-overflow, pkl, mapping