mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
34 lines
1.5 KiB
JSON
34 lines
1.5 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Wraps around the main error handler as a fallback in case something goes wrong.",
|
|
"@id": "urn:solid-server:default:ErrorHandler",
|
|
"@type": "SafeErrorHandler",
|
|
"showStackTrace": { "@id": "urn:solid-server:default:variable:showStackTrace" },
|
|
"errorHandler": {
|
|
"@id": "urn:solid-server:default:TargetExtractorErrorHandler",
|
|
"@type": "TargetExtractorErrorHandler",
|
|
"targetExtractor": { "@id": "urn:solid-server:default:TargetExtractor" },
|
|
"errorHandler": {
|
|
"@id": "urn:solid-server:default:WaterfallErrorHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{
|
|
"comment": "Internally redirects are created by throwing a specific error, this handler converts them to the correct response.",
|
|
"@type": "RedirectingErrorHandler"
|
|
},
|
|
{
|
|
"comment": "Converts an Error object into a representation for an HTTP response.",
|
|
"@type": "ConvertingErrorHandler",
|
|
"converter": { "@id": "urn:solid-server:default:UiEnabledConverter" },
|
|
"preferenceParser": { "@id": "urn:solid-server:default:PreferenceParser" },
|
|
"showStackTrace": { "@id": "urn:solid-server:default:variable:showStackTrace" }
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|