apple/pkl
Documented errors, page 5 of 6. Back to apple/pkl
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Cannot generate documentation for just one module within a… | exception | error | cli, packages, documentation, uri |
| type mismatch: value is not of type Map | exception | error | pkl, typecheck, map, type-mismatch |
typeAnnotationInAmends Properties with type annotations cannot have object bodies.
To define both a… | exception | error | parser, type-annotation, property, object-body |
| Cannot receive request messages before transport start. | exception | error | java, messaging, lifecycle, protocol |
cannotDeclareTypeParameter cannotDeclareTypeParameter | error_code | error | pkl, generics, type-parameters, compile-error |
cannotInstallPackageWithNoCache ErrorMessages.create("cannotInstallPackageWithNoCache") | error_code | error | configuration, packaging, cache |
errorSslHandshake errorSslHandshake | exception | error | ssl, tls, certificate, network |
invalidGlobInvalidTerminatingCharacter invalidGlobInvalidTerminatingCharacter | error_code | error | pkl, glob, pattern, escaping |
| Pkl version ` ` requested by module ` ` is not supported… | exception | error | pkl, versioning, compatibility |
| `implementationType` must be assignable to `requestedType`… | exception | error | java, type-mapping, assignability, illegal-argument |
ioErrorReadingResource I/O error reading resource | error_code | error | io, network, resource, pkl |
| Pkl ` ` types are not supported by the Java code generator. | exception | error | codegen, types, unsupported |
| Cannot convert Pkl duration `this` to `java.time.Duration`. | exception | error | java, duration, arithmetic-exception, non-finite |
cannotFindModuleImport cannotFindModuleImport | error_code | error | pkl, import, type-resolution |
| Unrecognized code 0x | exception | error | msgpack, decoding, pkl-binary, version-mismatch |
noOuterScope Top-level scope does not have an outer scope. | error_code | error | pkl, scope, outer |
| Unexpected incoming one-way message: $message | exception | error | protocol, server, messaging |
| adhocEvalError | exception | error | string, base64, decoding |
| Cannot receive one-way messages before transport start. | exception | error | java, messaging, lifecycle |
| Pkl function types are not supported by the Java code… | exception | error | codegen, function-type, unsupported |
| type constraint violation: Int value out of range for this… | exception | error | pkl, range, int, type-constraint |
| cannotFindMember on object | error_code | error | pkl, member-not-found, object |
expectedNonEmptyListing expectedNonEmptyListing | error_code | error | pkl, listing, empty-collection, stdlib |
| Invalid Duration unit symbol: | exception | error | pkl, duration, invalid-enum-value |
redundantOpenModifier redundantOpenModifier | error_code | error | pkl, parser, modifier, class-declaration |
commandFlagInvalidType commandFlagInvalidType | error_code | error | pkl, cli, command-spec, types |
| string | exception | error | pkl, json, type-mismatch |
badHttpStatusCode Received unexpected status code | error_code | error | http, network, status-code |
| Cannot convert pkl.base#Int | exception | error | conversion, range, short, pkl, mapping |
| Failed to package metadata for $this | exception | error | packages, cli, documentation |
| No security manager set. | exception | error | security, configuration, builder, pkl |
| Standard library typealias | exception | error | kotlin, codegen, stdlib, typealias |
| Unsupported value of type | validation | error | gradle, type-error, unsupported-type, configuration |
errorConnectingToHost errorConnectingToHost | exception | error | network, http, connection, pkl |
| Failed to convert `pkl.base#String` to… | exception | error | pkl, java, regex, conversion, value-format |
invalidGlobPattern invalidGlobPattern | error_code | error | pkl, glob, pattern, validation |
wrongListingKeyType wrongListingKeyType | error_code | error | pkl, listing, key-type |
| Cannot generate Java enum class for Pkl type alias | exception | error | codegen, enum, collision |
| Failed to download some packages. Failed to download $uri… | exception | error | cli, package-download, network, batch |
| I/O error loading Pkl module | exception | error | pkl, io, file-read |
invalidDeclaredChecksum ErrorMessages.create("invalidDeclaredChecksum", packageUri.getDisplayName()… | error_code | critical | checksum, security, dependency-resolution |
invalidGlobExtGlob invalidGlobExtGlob | error_code | error | glob, extglob, pkl |
invalidYamlStreamTopLevelValue invalidYamlStreamTopLevelValue | error_code | error | pkl, renderer, yaml, stream |
| Values of type `Regex` cannot be rendered as Properties… | exception | error | properties, rendering, pkl, regex |
cannotAnalyzeBecauseSyntaxError cannotAnalyzeBecauseSyntaxError | error_code | error | pkl, syntax, import |
invalidHttpHeaderReservedPrefix HTTP header ` ` starts with a reserved header prefix. | error_code | error | http, validation, pkl |
unsupportedProjectDepsVersion unsupportedProjectDepsVersion | error_code | error | versioning, schema, dependency-resolution |
cannotInvokeAbstractMethod cannotInvokeAbstractMethod | error_code | error | pkl, abstract-method, call, truffle |
emptyCertFile emptyCertFile | exception | error | http, tls, empty-file, configuration |
invalidGlobNestedSubpattern invalidGlobNestedSubpattern | error_code | error | pkl, glob, pattern, unsupported-feature |
elementNotSupportedHere elementNotSupportedHere | error_code | error | xml, rendering, dynamic, pkl |
invalidGlobUnclosedSubpattern invalidGlobUnclosedSubpattern | error_code | error | glob, unbalanced-braces, pkl |
redundantHiddenModifier redundantHiddenModifier | error_code | error | pkl, parser, modifier, redundant |
| FormatException("resolvedDependencies", "object"… | validation | error | json, schema-validation |
noImplementationForAbstractMethods noImplementationForAbstractMethods | error_code | error | pkl, classes, abstract-method, inheritance |
unsupportedResourceType unsupportedResourceType | error_code | error | resource-read, custom-reader, type-mismatch |
| Values of type `TypeAlias` cannot be rendered as… | exception | error | properties, rendering, pkl, type-alias |
| Cannot generate Java code for a Pkl standard library module | exception | error | codegen, pkl-stdlib, unsupported |
expectedNonNullValue expectedNonNullValue | error_code | error | null, assertion, non-null-operator |
invalidThisTypeInTypeAlias invalidThisTypeInTypeAlias | error_code | error | |
| Standard library class | exception | error | kotlin, codegen, stdlib, unsupported-class |
cannotIterateOverThisValue Cannot iterate over value of type | exception | error | pkl, iteration, type-mismatch, for-loop |
httpTooManyRedirects httpTooManyRedirects | exception | error | http, redirects, loop, network |
intValueTooLarge intValueTooLarge | error_code | error | pkl, integer-overflow, math, conversion |
| Unexpected msgpack ext value | exception | error | msgpack, decoding, pkl-binary, malformed-input |
| Unexpected msgpack map value | exception | error | msgpack, decoding, pkl-binary, malformed-input |
cannotHaveRelativeResource Module ` ` cannot have a relative resource URI. | error_code | error | uri, resource, module, pkl |
| Cannot convert pkl.base#Int `$value` to kotlin.UByte… | exception | error | kotlin, unsigned, range, conversion |
| type constraint violation: value does not fit in Int32 | exception | error | pkl, integer-range, type-constraint |
| type mismatch: type constraint must be a Boolean or a… | exception | error | pkl, type-constraint, type-mismatch |
cannotFindMatchingCollectionElement cannotFindMatchingCollectionElement | exception | error | pkl, list, find, predicate |
| Failed to convert `pkl.base#String` to… | exception | error | pkl, java, version, semver, conversion |
| pkldoc website model is too old | exception | error | cli, migration, versioning, documentation |
tooManyFunctionParameters tooManyFunctionParameters | error_code | error | pkl, function, arity |
| type mismatch: value is not of type Function | exception | error | pkl, type-mismatch, function-type |
| Unexpected character | exception | error | lexer, syntax-error, unexpected-character |
unexpectedChecksumInPackageUri ErrorMessages.create("unexpectedChecksumInPackageUri") | error_code | error | pkl, package-uri, checksum, api-misuse |
commandOptionsTypeAbstractClass commandOptionsTypeAbstractClass | error_code | error | pkl, cli, command-spec, abstract-class |
invalid object invalid object | error_code | error | json, type-mismatch, schema |
notAModuleImport notAModuleImport | error_code | error | pkl, import, type-resolution |
| Unexpected blank object module URI | exception | error | pkl, binary-decoder, corrupt-payload |
unhandledMessageType unhandledMessageType | error_code | error | msgpack, encoding, protocol |
invalidGlobInvalidCharacterInCharacterClass invalidGlobInvalidCharacterInCharacterClass | error_code | error | pkl, glob, pattern, validation |
missingMessageParameter missingMessageParameter | error_code | error | msgpack, decoding, missing-field |
objectCannotHavePredicateMember Object of type ` ` cannot have a predicate member. | exception | error | pkl, predicate-member, when, typed-class |
| The top-level value of a YAML stream must have type… | exception | error | yaml, rendering, pkl, type-mismatch |
| VmTypeMismatchException.ClassType (value is not a subclass… | exception | error | pkl, type-mismatch, subclass |
| Cannot convert pkl.base#Int `$value` to kotlin.ULong… | exception | error | kotlin, unsigned, range, conversion |
missingAuthorityInPackageUri missingAuthorityInPackageUri | error_code | error | pkl, package-uri, uri-validation, authority |
cannotResolveTripleDotImports Cannot resolve a triple-dot import from module URI | error_code | error | pkl, import, uri-resolution |
| FormatException("string", obj.getClass()) | validation | error | pkl, type-mismatch, package-uri, argument |
invalidXmlName invalidXmlName | error_code | error | pkl, xml, naming, validation |
malformedMessageHeaderLength malformedMessageHeaderLength | error_code | error | msgpack, decoding, protocol |
| MissingFieldException(this, key) | exception | error | json, missing-field, parsing |
| failed to allocate pkl_exec_t | console | error | |
invalidSchemeInPackageUri invalidSchemeInPackageUri | error_code | error | pkl, package-uri, uri-validation, scheme |
invalidTripleDotSyntax expected `...` or `.../path/to/my_module.pkl` | error_code | error | pkl, import, syntax |
malformedMessageBody malformedMessageBody | error_code | error | msgpack, decoding, malformed-data |
| rethrown VmException message (dynamic) | exception | error | pkl, import, vm-exception, module-loading |
| Cannot convert ` ` to ` ` because no conversion was found. | exception | error | java, conversion, value-mapper, unsupported-conversion |