rename error

This commit is contained in:
easong-openai
2025-09-26 04:46:20 -07:00
parent e1d6531103
commit f0491f4826
4 changed files with 18 additions and 18 deletions

View File

@@ -3,10 +3,10 @@ use chrono::Utc;
use serde::Deserialize;
use serde::Serialize;
pub type Result<T> = std::result::Result<T, Error>;
pub type Result<T> = std::result::Result<T, CloudTaskError>;
#[derive(Debug, thiserror::Error)]
pub enum Error {
pub enum CloudTaskError {
#[error("unimplemented: {0}")]
Unimplemented(&'static str),
#[error("http error: {0}")]