mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-23 18:53:13 +00:00
14 lines
279 B
Rust
14 lines
279 B
Rust
|
|
use thiserror::Error;
|
||
|
|
|
||
|
|
#[derive(Error, Debug)]
|
||
|
|
pub enum NssaError {
|
||
|
|
#[error("Invalid input: {0}")]
|
||
|
|
InvalidInput(String),
|
||
|
|
|
||
|
|
#[error("Risc0 error: {0}")]
|
||
|
|
ProgramExecutionFailed(String),
|
||
|
|
|
||
|
|
#[error("Program violated execution rules")]
|
||
|
|
InvalidProgramBehavior,
|
||
|
|
}
|