hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/encode/error/packaging.json
{
"name": "hydra.core.encode.error.packaging",
"metadata": {"description": "Term encoders for hydra.core.error.packaging", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [
{"module": "hydra.core.encode.model"},
{"module": "hydra.core.encode.packaging"},
{"module": "hydra.core.encode.util"},
{"module": "hydra.core.error.packaging"}],
"definitions": [
{
"term": {
"name": "hydra.core.encode.error.packaging.conflictingModuleNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.ConflictingModuleNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.ConflictingModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.ConflictingModuleNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "first"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ConflictingModuleNameError", "fieldName": "first"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "second"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ConflictingModuleNameError", "fieldName": "second"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.ConflictingModuleNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.conflictingVariantNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.ConflictingVariantNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.ConflictingVariantNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.ConflictingVariantNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ConflictingVariantNameError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "typeName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ConflictingVariantNameError", "fieldName": "typeName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "variantName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ConflictingVariantNameError", "fieldName": "variantName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "conflictingName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ConflictingVariantNameError", "fieldName": "conflictingName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.ConflictingVariantNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.definitionNotInModuleNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.DefinitionNotInModuleNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.DefinitionNotInModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.DefinitionNotInModuleNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DefinitionNotInModuleNameError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DefinitionNotInModuleNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.DefinitionNotInModuleNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.definitionsOutOfOrderError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.DefinitionsOutOfOrderError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.DefinitionsOutOfOrderError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.DefinitionsOutOfOrderError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DefinitionsOutOfOrderError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "precedingName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DefinitionsOutOfOrderError", "fieldName": "precedingName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "followingName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DefinitionsOutOfOrderError", "fieldName": "followingName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.DefinitionsOutOfOrderError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.duplicateDefinitionNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.DuplicateDefinitionNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.DuplicateDefinitionNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.DuplicateDefinitionNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DuplicateDefinitionNameError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DuplicateDefinitionNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.DuplicateDefinitionNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.duplicateModuleNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.DuplicateModuleNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.DuplicateModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.DuplicateModuleNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.DuplicateModuleNameError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.DuplicateModuleNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.invalidDefinitionNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.InvalidDefinitionNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.InvalidDefinitionNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.InvalidDefinitionNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.InvalidDefinitionNameError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.InvalidDefinitionNameError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "expectedConvention"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.util.caseConvention"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.InvalidDefinitionNameError", "fieldName": "expectedConvention"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.InvalidDefinitionNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.invalidModuleError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.InvalidModuleError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"cases": {
"typeName": "hydra.core.error.packaging.InvalidModuleError",
"cases": [
{
"name": "conflictingVariantName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.ConflictingVariantNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "conflictingVariantName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.conflictingVariantNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "definitionNotInModuleName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.DefinitionNotInModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "definitionNotInModuleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.definitionNotInModuleNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "definitionsOutOfOrder",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.DefinitionsOutOfOrderError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "definitionsOutOfOrder"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.definitionsOutOfOrderError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "duplicateDefinitionName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.DuplicateDefinitionNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "duplicateDefinitionName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.duplicateDefinitionNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidDefinitionName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.InvalidDefinitionNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidDefinitionName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.invalidDefinitionNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidModuleNameConvention",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.InvalidModuleNameConventionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidModuleNameConvention"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.invalidModuleNameConventionError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "missingDocumentation",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.MissingDocumentationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "missingDocumentation"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.packaging.missingDocumentationError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}}]}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.InvalidModuleError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.invalidModuleNameConventionError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.InvalidModuleNameConventionError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.InvalidModuleNameConventionError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.InvalidModuleNameConventionError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.InvalidModuleNameConventionError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.InvalidModuleNameConventionError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.invalidPackageError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.InvalidPackageError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"cases": {
"typeName": "hydra.core.error.packaging.InvalidPackageError",
"cases": [
{
"name": "conflictingModuleName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.ConflictingModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "conflictingModuleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.conflictingModuleNameError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "duplicateModuleName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.DuplicateModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "duplicateModuleName"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.packaging.duplicateModuleNameError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidModule",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.InvalidModuleError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidModule"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.packaging.invalidModuleError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "invalidPackageName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.InvalidPackageNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "invalidPackageName"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.packaging.invalidPackageNameError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "moduleInMultiplePackages",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.ModuleInMultiplePackagesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleInMultiplePackages"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.error.packaging.moduleInMultiplePackagesError"},
"argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "nestedModuleName",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.NestedModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "nestedModuleName"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.packaging.nestedModuleNameError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}},
{
"name": "undeclaredDependency",
"handler": {
"lambda": {
"parameter": "y",
"domain": {"variable": "hydra.core.error.packaging.UndeclaredDependencyError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "inject",
"term": {
"record": {
"typeName": "hydra.core.model.Injection",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageError"}}}}},
{
"name": "field",
"term": {
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "undeclaredDependency"}}}}},
{
"name": "term",
"term": {
"application": {"function": {"variable": "hydra.core.encode.error.packaging.undeclaredDependencyError"}, "argument": {"variable": "y"}}}}]}}}]}}}}}}}}]}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.InvalidPackageError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.invalidPackageNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.InvalidPackageNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.InvalidPackageNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.InvalidPackageNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "packageName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.packageName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.InvalidPackageNameError", "fieldName": "packageName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.InvalidPackageNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.missingDocumentationError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.MissingDocumentationError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.MissingDocumentationError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.MissingDocumentationError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.MissingDocumentationError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "name"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.MissingDocumentationError", "fieldName": "name"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.MissingDocumentationError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.moduleInMultiplePackagesError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.ModuleInMultiplePackagesError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.ModuleInMultiplePackagesError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.ModuleInMultiplePackagesError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ModuleInMultiplePackagesError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "firstPackage"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.packageName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ModuleInMultiplePackagesError", "fieldName": "firstPackage"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "secondPackage"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.packageName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.ModuleInMultiplePackagesError", "fieldName": "secondPackage"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.ModuleInMultiplePackagesError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.nestedModuleNameError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.NestedModuleNameError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.NestedModuleNameError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.NestedModuleNameError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "outer"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.NestedModuleNameError", "fieldName": "outer"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "inner"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.NestedModuleNameError", "fieldName": "inner"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.NestedModuleNameError"}}}]}}}}},
{
"term": {
"name": "hydra.core.encode.error.packaging.undeclaredDependencyError",
"signature": {
"typeParameters": [],
"parameters": [{"name": "arg0", "type": {"variable": "hydra.core.error.packaging.UndeclaredDependencyError"}, "isLazy": false}],
"result": {"type": {"variable": "hydra.core.model.Term"}}},
"body": {
"annotated": {
"body": {
"lambda": {
"parameter": "x",
"domain": {"variable": "hydra.core.error.packaging.UndeclaredDependencyError"},
"body": {
"inject": {
"typeName": "hydra.core.model.Term",
"field": {
"name": "record",
"term": {
"record": {
"typeName": "hydra.core.model.Record",
"fields": [
{
"name": "typeName",
"term": {
"wrap": {
"typeName": "hydra.core.model.Name",
"body": {"literal": {"string": "hydra.core.error.packaging.UndeclaredDependencyError"}}}}},
{
"name": "fields",
"term": {
"list": [
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{"name": "name", "term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "moduleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.UndeclaredDependencyError", "fieldName": "moduleName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "referencedName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.model.name"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.UndeclaredDependencyError", "fieldName": "referencedName"}},
"argument": {"variable": "x"}}}}}}]}},
{
"record": {
"typeName": "hydra.core.model.Field",
"fields": [
{
"name": "name",
"term": {"wrap": {"typeName": "hydra.core.model.Name", "body": {"literal": {"string": "owningModuleName"}}}}},
{
"name": "term",
"term": {
"application": {
"function": {"variable": "hydra.core.encode.packaging.moduleName"},
"argument": {
"application": {
"function": {"project": {"typeName": "hydra.core.error.packaging.UndeclaredDependencyError", "fieldName": "owningModuleName"}},
"argument": {"variable": "x"}}}}}}]}}]}}]}}}}}}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Encoder for hydra.core.error.packaging.UndeclaredDependencyError"}}}]}}}}}]}