mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
542d1f93d3
Summary: This commit manually synchronizes the internal move of fbcode/scm/mononoke under fbcode/eden/mononoke which couldn't be performed by ShipIt automatically. Reviewed By: StanislavGlebik Differential Revision: D19722832 fbshipit-source-id: 52fbc8bc42a8940b39872dfb8b00ce9c0f6b0800
25 lines
599 B
Rust
25 lines
599 B
Rust
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This software may be used and distributed according to the terms of the
|
|
* GNU General Public License version 2.
|
|
*/
|
|
|
|
use thiserror::Error;
|
|
|
|
#[derive(Debug, Error)]
|
|
pub enum ErrorKind {
|
|
#[error("Bundle2Decode: {0}")]
|
|
Bundle2Decode(String),
|
|
#[error("Revlog: {0}")]
|
|
Revlog(String),
|
|
#[error("Repo: {0}")]
|
|
Repo(String),
|
|
#[error("Path: {0}")]
|
|
Path(String),
|
|
#[error("Unknown requirement: {0}")]
|
|
UnknownReq(String),
|
|
#[error("invalid Thrift structure '{0}': {1}")]
|
|
InvalidThrift(String, String),
|
|
}
|