mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-08 19:33:07 +00:00
media: cros-codecs: harmonize error descriptions
Error descriptions should have no leading capital and do not end with a dot. BUG=b:214478588 TEST=cargo test --features vaapi -p cros-codecs Change-Id: I807e4874c862bc8e32dc4a394b1e5e46df60c8d0 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4005489 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Daniel Almeida <daniel.almeida@collabora.corp-partner.google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
parent
13f21379ac
commit
97fe4ec8e8
1 changed files with 4 additions and 4 deletions
|
@ -29,13 +29,13 @@ pub enum Error {
|
||||||
|
|
||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug)]
|
||||||
pub enum StatelessBackendError {
|
pub enum StatelessBackendError {
|
||||||
#[error("Not enough resources to proceed with the operation now.")]
|
#[error("not enough resources to proceed with the operation now")]
|
||||||
OutOfResources,
|
OutOfResources,
|
||||||
#[error("This resource is not ready.")]
|
#[error("this resource is not ready")]
|
||||||
ResourceNotReady,
|
ResourceNotReady,
|
||||||
#[error("This format is not supported.")]
|
#[error("this format is not supported")]
|
||||||
UnsupportedFormat,
|
UnsupportedFormat,
|
||||||
#[error("Negotiation failed")]
|
#[error("negotiation failed")]
|
||||||
NegotiationFailed(anyhow::Error),
|
NegotiationFailed(anyhow::Error),
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
Other(#[from] anyhow::Error),
|
Other(#[from] anyhow::Error),
|
||||||
|
|
Loading…
Reference in a new issue