Initialize Rust GPUI browser shell
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Clone, Debug, Error, Eq, PartialEq)]
|
||||
pub enum DomainError {
|
||||
#[error("{field} cannot be empty")]
|
||||
EmptyField { field: &'static str },
|
||||
|
||||
#[error("invalid URL: {value}")]
|
||||
InvalidUrl { value: String },
|
||||
|
||||
#[error("invalid command query")]
|
||||
InvalidCommand,
|
||||
}
|
||||
Reference in New Issue
Block a user