forked from noir-lang/noir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* DAP preflight mode * Properly handle generate_acir and skip_instrumentation * Add more context on preflight mode
- Loading branch information
Showing
4 changed files
with
105 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
use thiserror::Error; | ||
|
||
#[derive(Debug, Error)] | ||
pub enum DapError { | ||
#[error("{0}")] | ||
PreFlightGenericError(String), | ||
|
||
#[error(transparent)] | ||
LoadError(#[from] LoadError), | ||
|
||
#[error(transparent)] | ||
ServerError(#[from] dap::errors::ServerError), | ||
} | ||
|
||
#[derive(Debug, Error)] | ||
pub enum LoadError { | ||
#[error("{0}")] | ||
Generic(String), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
mod context; | ||
mod dap; | ||
pub mod errors; | ||
mod foreign_calls; | ||
mod repl; | ||
mod source_code_printer; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters