pub enum RuntimeBuildError {
Show 37 variants
Config(ConfigError),
Registration(RegistrationError),
Capability(CapabilityValidationError),
ModuleInstallation(ModuleInstallationError),
Data(DataModelError),
Route(RouteBuildError),
Observability(ObservabilityError),
Wasm(WasmModelError),
Jobs(JobsModelError),
Ops(OpsModelError),
Template(TemplateModelError),
TemplateSourceRead {
path: String,
message: String,
},
TemplateSourceParse {
path: String,
message: String,
},
StorefrontCatalogRead {
path: String,
message: String,
},
StorefrontCatalogParse {
path: String,
message: String,
},
StorefrontCatalogValidation {
path: String,
message: String,
},
TemplateSourceUnsupportedDirective {
path: String,
directive: String,
},
MissingCustomerAppRoot {
path: String,
},
CustomerAppRootNotDirectory {
path: String,
},
MissingTemplateTree {
path: String,
},
EmptyTemplateTree {
path: String,
},
AuthPackageMismatch {
configured: String,
actual: String,
},
DuplicateCustomerPlugin {
plugin_id: String,
},
CustomerPluginRegistration {
plugin_id: String,
message: String,
},
ExtensionCustomerAppMismatch {
extension_id: String,
configured: String,
actual: String,
},
DuplicateHandler {
route: String,
},
UnknownHandlerRoute {
route: String,
},
DuplicateExtensionSlot {
kind: ExtensionPointKind,
surface: String,
first_module: String,
second_module: String,
},
UnknownExtensionSlot {
extension_id: String,
handler_id: String,
point: ExtensionPointKind,
surface: String,
},
DuplicateRuntimeJobName {
job: String,
first_module: String,
second_module: String,
},
DuplicateDataRepository {
repository: String,
first_module: String,
second_module: String,
},
EventSubscriptionMissingJob {
module: String,
event: String,
},
UnknownEventSubscriptionJob {
module: String,
event: String,
job: String,
},
EventSubscriptionTriggerMismatch {
module: String,
event: String,
job: String,
trigger: JobTriggerKind,
},
CustomerManifestMissingLinkedModules {
modules: Vec<String>,
},
CustomerManifestLoad {
path: PathBuf,
reason: String,
},
CustomerRootNotConfigured,
}Variants§
Config(ConfigError)
Registration(RegistrationError)
Capability(CapabilityValidationError)
ModuleInstallation(ModuleInstallationError)
Data(DataModelError)
Route(RouteBuildError)
Observability(ObservabilityError)
Wasm(WasmModelError)
Jobs(JobsModelError)
Ops(OpsModelError)
Template(TemplateModelError)
TemplateSourceRead
TemplateSourceParse
StorefrontCatalogRead
StorefrontCatalogParse
StorefrontCatalogValidation
TemplateSourceUnsupportedDirective
MissingCustomerAppRoot
CustomerAppRootNotDirectory
MissingTemplateTree
EmptyTemplateTree
AuthPackageMismatch
DuplicateCustomerPlugin
CustomerPluginRegistration
ExtensionCustomerAppMismatch
DuplicateHandler
UnknownHandlerRoute
DuplicateExtensionSlot
UnknownExtensionSlot
DuplicateRuntimeJobName
DuplicateDataRepository
EventSubscriptionMissingJob
UnknownEventSubscriptionJob
EventSubscriptionTriggerMismatch
CustomerManifestMissingLinkedModules
CustomerManifestLoad
CustomerRootNotConfigured
Trait Implementations§
Source§impl Debug for RuntimeBuildError
impl Debug for RuntimeBuildError
Source§impl Display for RuntimeBuildError
impl Display for RuntimeBuildError
Source§impl Error for RuntimeBuildError
impl Error for RuntimeBuildError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CapabilityValidationError> for RuntimeBuildError
impl From<CapabilityValidationError> for RuntimeBuildError
Source§fn from(source: CapabilityValidationError) -> Self
fn from(source: CapabilityValidationError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for RuntimeBuildError
impl From<ConfigError> for RuntimeBuildError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<DataModelError> for RuntimeBuildError
impl From<DataModelError> for RuntimeBuildError
Source§fn from(source: DataModelError) -> Self
fn from(source: DataModelError) -> Self
Converts to this type from the input type.
Source§impl From<JobsModelError> for RuntimeBuildError
impl From<JobsModelError> for RuntimeBuildError
Source§fn from(source: JobsModelError) -> Self
fn from(source: JobsModelError) -> Self
Converts to this type from the input type.
Source§impl From<ModuleInstallationError> for RuntimeBuildError
impl From<ModuleInstallationError> for RuntimeBuildError
Source§fn from(source: ModuleInstallationError) -> Self
fn from(source: ModuleInstallationError) -> Self
Converts to this type from the input type.
Source§impl From<ObservabilityError> for RuntimeBuildError
impl From<ObservabilityError> for RuntimeBuildError
Source§fn from(source: ObservabilityError) -> Self
fn from(source: ObservabilityError) -> Self
Converts to this type from the input type.
Source§impl From<OpsModelError> for RuntimeBuildError
impl From<OpsModelError> for RuntimeBuildError
Source§fn from(source: OpsModelError) -> Self
fn from(source: OpsModelError) -> Self
Converts to this type from the input type.
Source§impl From<RegistrationError> for RuntimeBuildError
impl From<RegistrationError> for RuntimeBuildError
Source§fn from(source: RegistrationError) -> Self
fn from(source: RegistrationError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeBuildError> for RuntimeBootstrapError
impl From<RuntimeBuildError> for RuntimeBootstrapError
Source§fn from(source: RuntimeBuildError) -> Self
fn from(source: RuntimeBuildError) -> Self
Converts to this type from the input type.
Source§impl From<TemplateModelError> for RuntimeBuildError
impl From<TemplateModelError> for RuntimeBuildError
Source§fn from(source: TemplateModelError) -> Self
fn from(source: TemplateModelError) -> Self
Converts to this type from the input type.
Source§impl From<WasmModelError> for RuntimeBuildError
impl From<WasmModelError> for RuntimeBuildError
Source§fn from(source: WasmModelError) -> Self
fn from(source: WasmModelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeBuildError
impl !RefUnwindSafe for RuntimeBuildError
impl Send for RuntimeBuildError
impl Sync for RuntimeBuildError
impl Unpin for RuntimeBuildError
impl UnsafeUnpin for RuntimeBuildError
impl !UnwindSafe for RuntimeBuildError
Blanket Implementations§
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.