apple/pkl

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

Code / MessageTypeSeverityTags
defaultMember
error_code error pkl, dynamic, default-property, reference
floatTooLarge
floatTooLarge
error_code error pkl, float, overflow
invalidOpaqueFileUri
File URIs must have a path that starts with `/` (e.g…
error_code error uri, file, validation
invalidRelativeProjectImport
invalidRelativeProjectImport
error_code error import, path, validation
Output file conflict: `output.files` entry `"$pathSpec"`…
exception error cli, output-conflict, filesystem
Package resolver has already been closed.
exception error resource-lifecycle, closed-resource, package-loading
Failed to parse hostname in no-proxy rule
validation error http, proxy, no-proxy, environment-variable, parsing
invalidPackageUriChecksum
ErrorMessages.create("invalidPackageUriChecksum", checksumPart)
error_code error pkl, package-uri, checksum, format
intTooLarge
intTooLarge
error_code error pkl, integer, overflow
invalidRelativePathInPackageUri
invalidRelativePathInPackageUri
error_code error pkl, package-uri, path-traversal, uri-validation
redundantFixedModifier
redundantFixedModifier
error_code error pkl, parser, modifier, redundant
cannotHaveRelativeImport
cannotHaveRelativeImport
error_code error pkl, import, uri, relative-path
externalMember
error_code error pkl, external-property, reference, member-access
Invalid `jar:` URI (missing `!`):
validation error uri, jar, argument-validation
Invalid test reporter
validation error gradle, invalid-enum, test-reporter, configuration
Cannot parse ` ` as number.
exception error pkl, json, parser, number
cannotFlattenCollectionWithNonCollectionElement
cannotFlattenCollectionWithNonCollectionElement
error_code error pkl, collection, flatten, type-mismatch
unhandledMessageCode
unhandledMessageCode
error_code error msgpack, decoding, protocol
Unexpected blank object class name
exception error pkl, binary-decoder, corrupt-payload
FormatException(key, "object", ret.getClass())
exception error json, type-mismatch, pkl
` .class` is not a valid type argument. Did you mean `…
exception error java, generics, primitive, type-argument
Type mappings are not supported for array types.
exception error java, type-mapping, array, unsupported-operation
Unexpected blank class name
exception error pkl, binary-decoder, corrupt-payload
Method ` ` is deprecated
console warning deprecation, pkl, method
Standard library class
exception error codegen, stdlib, type-mapping
FormatException(key, "boolean", ret.getClass())
exception error json, type-mismatch, parsing
malformedMessageHeaderUnrecognizedCode
malformedMessageHeaderUnrecognizedCode
error_code error msgpack, decoding, protocol-version
malformedProxyAddress
malformedProxyAddress
validation error http, proxy, configuration, url
Invalid DataSize unit
validation error pkl, binary-decoder, datasize, enum
Pkl union types are not supported by the Kotlin code…
exception error kotlin, codegen, union-type, unsupported-type
Rewrite rule must start with 'http://' or 'https://', but…
validation error uri, config, rewrite
missingMapValue
missingMapValue
error_code error pkl, map, arguments
cannotFindCollectionElement
cannotFindCollectionElement
exception error pkl, list, indexof, not-found
expectedAnnotationClass
Expected an annotation class.
exception error pkl, annotation, class
Pkl function types are not supported by the Kotlin code…
exception error kotlin, codegen, function-type, unsupported-type
`sourceModules` must contain at least one module to…
exception error cli, empty-input, validation
Output file conflict: `output.files` entry `"$pathSpec"` in…
exception error cli, file-conflict, directory
Rewrite rule must end with '/', but was
validation error uri, config, rewrite
Values of type `Duration` cannot be rendered as JSON. Value
exception error java, pkl, json, renderer
Cannot convert pkl.base#Int `$value` to kotlin.UInt because…
exception error kotlin, unsigned, range, conversion
Cannot write to stdin
exception error cli, formatter, stdin
httpRedirectNoLocation
httpRedirectNoLocation
exception error http, redirects, network, missing-header
invalidGlobMissingCharacterClassTerminator
invalidGlobMissingCharacterClassTerminator
error_code error pkl, glob, pattern, validation
invalidPropertiesTopLevelValue
invalidPropertiesTopLevelValue
error_code error pkl, renderer, properties, top-level-value
Cannot parameterize ` ` because it does not have any type…
exception error java, generics, parameterized-type, illegal-argument
invalidGlobUnsupportedFeature
invalidGlobUnsupportedFeature
error_code error pkl, glob, pattern, unsupported-feature
Unexpected blank class module URI
exception error pkl, binary-decoder, corrupt-payload
internalStdLibClass
internalStdLibClass (VarArgs)
error_code error pkl, internal-class, varargs, unsupported-operation
Maps with non-String keys cannot currently be rendered as…
exception error yaml, rendering, map-keys, pkl, unsupported
cannotResolveTypeForProtobuf
cannotResolveTypeForProtobuf
error_code error pkl, protobuf, renderer, type-resolution
invalidPcfTopLevelValue
invalidPcfTopLevelValue
error_code error pkl, renderer, pcf, top-level-value
malformedMessageHeaderException
malformedMessageHeaderException
error_code error msgpack, decoding, type-mismatch
Unexpected blank typealias name
exception error pkl, binary-decoder, corrupt-payload
Cannot download packages because no cache directory is…
exception error cli, package-download, cache
cannotFindKey in Map
error_code error map, missing-key, pkl
cannotRenderProtobufMapKeyType
cannotRenderProtobufMapKeyType
error_code error protobuf, map, key-type, pkl
Expected absolute URI, but got:
validation error uri, path, argument-validation
Values of type `Duration` cannot be rendered as YAML. Value
exception error yaml, rendering, duration, pkl, unsupported
FormatException(key, "array", ret.getClass())
exception error json, type-mismatch, pkl
Invalid Duration unit
validation error pkl, binary-decoder, duration, enum
cannotRenderProtobufMapKey
cannotRenderProtobufMapKey
error_code error pkl, protobuf, renderer, map-key
moduleCannotAmendSelf
Module ` ` cannot amend itself.
exception error pkl, module, self-reference
type mismatch: value is not of type Reference
exception error pkl, type-mismatch, ref-module
Values of type `Bytes` cannot be rendered as JSON. Value
exception error java, pkl, json, renderer
cannotFindDependencyInProject
Cannot find a dependency named
error_code error pkl, dependencies, project
Unexpected blank typealias module URI
exception error pkl, binary-decoder, corrupt-payload
cannotRenderTypeAddConverter
cannotRenderTypeAddConverter
error_code error pkl, protobuf, renderer, dynamic
duplicateTypeParameter
duplicateTypeParameter
error_code error pkl, generics, duplicate-declaration, compile-error
expectedPositiveNumber
expectedPositiveNumber
error_code error pkl, argument-validation, math
type mismatch: value is not of type Pair
exception error pkl, type-mismatch, pair
Values of type `DataSize` cannot be rendered as JSON. Value
exception error java, pkl, json, renderer
noModuleLoaderRegistered
noModuleLoaderRegistered
error_code error module-resolution, scheme, configuration
Expected type arguments for ` `, but got .
exception error java, generics, arity-mismatch, illegal-argument
cannotSpreadObject
Cannot spread value of type
exception error pkl, spread-operator, type-mismatch
inlineNotSupportedHere
inlineNotSupportedHere
error_code error xml, rendering, inline, pkl
Pkl ` ` types are not supported by the Kotlin code…
exception error kotlin, codegen, self-type, unsupported-type