Skip to content
Edit this page

Diagnostics

Bellhop reports these warnings and errors when an application builds. Their ids are a contract: an id is never reused or renumbered, so a suppression or a severity set by id keeps meaning the same thing.

Analyzers

The core package carries the analyzers, so every application that installs a Bellhop package gets them. They are all in the category Bellhop, so dotnet_analyzer_diagnostic.category-Bellhop.severity in an .editorconfig sets them all at once.

Id Severity Reported when
BELLHOP001 warning A job type has no [JobName], so its jobs are stored under its type name and renaming the type would orphan them.
BELLHOP002 warning A job type has no handler in a project that configures Bellhop, so its jobs would wait until they are marked unroutable.
BELLHOP003 warning A handler's job type is not registered by any registration in a project that configures Bellhop.
BELLHOP004 warning A job's payload cannot be serialized by System.Text.Json with its default options.
BELLHOP005 error The schedule of a [Recurring] job is one the host refuses at start.

Deprecated APIs

A public API is deprecated at least one minor release before a major release removes it. A deprecated API carries [Obsolete] with a Bellhop diagnostic id from BELLHOP900 to BELLHOP999 and a link to its entry below, so a project that uses it gets a warning it can suppress by that id, never the compiler's general CS0618. Each id names one deprecation and is never reused.

Id Deprecated in Removed in API Use instead

No API is deprecated in 1.0.