fc-common: validation and roles modules
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Idc4d0743153c77b4dd915a95a603680f6a6a6964
This commit is contained in:
parent
8d07063d3f
commit
a3155f54e8
7 changed files with 324 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ pub enum CiError {
|
|||
|
||||
#[error("Forbidden: {0}")]
|
||||
Forbidden(String),
|
||||
|
||||
#[error("Internal error: {0}")]
|
||||
Internal(String),
|
||||
}
|
||||
|
||||
pub type Result<T> = std::result::Result<T, CiError>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue