pub enum Code {
Show 117 variants
YamlSyntax,
IoError,
ProjectFileMissing,
InvalidProject,
InvalidReport,
UnknownKey,
RemovedKey,
InvalidField,
MissingField,
InvalidFolderConfig,
UnknownFolder,
InvalidTimezone,
InvalidLocale,
InvalidTargetPath,
TargetPathOnWorkspace,
TargetPathUnwritable,
UnrecognizedYaml,
DuplicateReportName,
ConflictingDeclaration,
MissingQueries,
InvalidQueryName,
UnknownQuery,
DuplicateSqlName,
UnusedQuery,
DuplicateOutput,
InvalidOutputOption,
InvalidDestinationOption,
InvalidConnectionSetting,
UnknownConnectionKey,
InvalidTemplate,
MissingTemplate,
InvalidCell,
JinjaSyntax,
ParseFailed,
CompileFailed,
CompileNeedsRun,
UnknownRef,
RefCycle,
DuplicateRefName,
UnresolvedVar,
UnsetEnvVar,
UnknownRunAttribute,
RemovedTemplateName,
UnmanagedReport,
UnmanagedSideEffect,
DuplicateSet,
UnknownSet,
UnknownDefaultSet,
ExcludeAndQueries,
ProfileAndSets,
InvalidProfiles,
InvalidProfile,
InvalidProfileValue,
ProfilesSourcesRenamed,
ProfilesMissing,
UnknownProfile,
TargetMismatch,
NoConnection,
ConnectionConflict,
MissingTargetEntry,
SetupOnOtherConnection,
InvalidSource,
DuplicateSource,
DuplicateSourceTable,
DuplicateSourceColumn,
SourceKeyNotSupported,
UnknownSource,
AmbiguousSelector,
InvalidSelector,
SelectorMatchesNothing,
InvalidSchedule,
DuplicateScheduleName,
ScheduleMoved,
ScheduleNoTime,
ScheduleNeedsAnchor,
ScheduleSeconds,
ScheduleTooFrequent,
SchedulePathClash,
ScheduleTimezoneMismatch,
InvalidTiming,
DuplicateTimingName,
UnknownTiming,
UnusedTiming,
InvalidLookup,
DuplicateLookup,
RunFailed,
RunCancelled,
RunInProgress,
RunTimedOut,
ConnectionFailed,
QueryFailed,
NoResultSet,
ForEachFailed,
RowsFailed,
ReleaseFailed,
RetryFailed,
NoData,
RenderFailed,
FormatFailed,
DeliveryFailed,
InvalidPluginDeclaration,
InvalidVersionConstraint,
ConflictingPluginConstraints,
ConflictingPluginSources,
MovedPluginDeclaration,
UndeclaredPlugin,
PluginNotInstalled,
PluginNotFound,
PluginInstallFailed,
OptionsUnchecked,
InvalidPackages,
InvalidPackage,
DuplicatePackage,
ConflictingPackages,
PackageMissing,
MisplacedPackages,
PackageNameClash,
}Expand description
A registered code. See the module docs.
Variants§
YamlSyntax
IoError
ProjectFileMissing
InvalidProject
InvalidReport
UnknownKey
RemovedKey
InvalidField
MissingField
InvalidFolderConfig
UnknownFolder
InvalidTimezone
InvalidLocale
InvalidTargetPath
TargetPathOnWorkspace
TargetPathUnwritable
UnrecognizedYaml
DuplicateReportName
ConflictingDeclaration
MissingQueries
InvalidQueryName
UnknownQuery
DuplicateSqlName
UnusedQuery
DuplicateOutput
InvalidOutputOption
InvalidDestinationOption
InvalidConnectionSetting
UnknownConnectionKey
InvalidTemplate
MissingTemplate
InvalidCell
JinjaSyntax
ParseFailed
CompileFailed
CompileNeedsRun
UnknownRef
RefCycle
DuplicateRefName
UnresolvedVar
UnsetEnvVar
UnknownRunAttribute
RemovedTemplateName
UnmanagedReport
UnmanagedSideEffect
DuplicateSet
UnknownSet
UnknownDefaultSet
ExcludeAndQueries
ProfileAndSets
InvalidProfiles
InvalidProfile
InvalidProfileValue
ProfilesSourcesRenamed
ProfilesMissing
UnknownProfile
TargetMismatch
NoConnection
ConnectionConflict
MissingTargetEntry
SetupOnOtherConnection
InvalidSource
DuplicateSource
DuplicateSourceTable
DuplicateSourceColumn
SourceKeyNotSupported
UnknownSource
AmbiguousSelector
InvalidSelector
SelectorMatchesNothing
InvalidSchedule
DuplicateScheduleName
ScheduleMoved
ScheduleNoTime
ScheduleNeedsAnchor
ScheduleSeconds
ScheduleTooFrequent
SchedulePathClash
ScheduleTimezoneMismatch
InvalidTiming
DuplicateTimingName
UnknownTiming
UnusedTiming
InvalidLookup
DuplicateLookup
RunFailed
RunCancelled
RunInProgress
RunTimedOut
ConnectionFailed
QueryFailed
NoResultSet
ForEachFailed
RowsFailed
ReleaseFailed
RetryFailed
NoData
RenderFailed
FormatFailed
DeliveryFailed
InvalidPluginDeclaration
InvalidVersionConstraint
ConflictingPluginConstraints
ConflictingPluginSources
MovedPluginDeclaration
UndeclaredPlugin
PluginNotInstalled
PluginNotFound
PluginInstallFailed
OptionsUnchecked
InvalidPackages
InvalidPackage
DuplicatePackage
ConflictingPackages
PackageMissing
MisplacedPackages
PackageNameClash
Implementations§
Trait Implementations§
impl Copy for Code
impl Eq for Code
Source§impl JsonSchema for Code
impl JsonSchema for Code
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for Code
impl Ord for Code
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Code
impl PartialOrd for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.