Skip to main content

create

Function create 

Source
pub fn create(
    request: &Request,
    state_root: &Utf8Path,
) -> Result<Receipt, AppError>
Expand description

Render one candidate into a stage, and report what it holds.

ยงErrors

AppError::Usage for a target or stage path the arguments cannot mean, AppError::Refused where the stage directory already holds something, and I/O errors writing the stage.