geam-core 0.2.3

Typed Gleam planning, host, and execution core for Geam
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{HostRegistrationError, ProjectError};
use thiserror::Error;

/// A failure while registering providers or loading a hosted Gleam project.
#[derive(Debug, Error)]
pub enum HostedProjectError {
    /// Static host provider registration failed.
    #[error(transparent)]
    HostRegistration(#[from] HostRegistrationError),

    /// The selected Gleam project failed to load or compile.
    #[error(transparent)]
    Project(#[from] ProjectError),
}