Canonical errors are thrown by query handlers when a requested resource is not found. Your connector app should throw these errors so the frontend can handle missing content gracefully.
Import these from @laioutr-core/canonical-types/blog.
@laioutr-core/canonical-types/blog
BLOG_COLLECTION_NOT_FOUND
Thrown when a blog collection with the given slug is not found.
import { BlogCollectionBySlugNotFoundError } from '@laioutr-core/canonical-types/blog';
slug
string
BLOG_POST_NOT_FOUND
Thrown when a blog post with the given slug is not found.
import { BlogPostBySlugNotFoundError } from '@laioutr-core/canonical-types/blog';
Queries
Queries available for implementation in blog connector apps
Queries available for implementation in suggested search connector apps
Table of Contents
Laioutr