mirror of
https://github.com/wisdgod/cursor-api.git
synced 2025-10-06 07:06:51 +08:00
v0.1.3-rc.3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use super::aiserver::v1::throw_error_check_request::Error as ErrorType;
|
||||
use super::aiserver::v1::error_details::Error as ErrorType;
|
||||
use reqwest::StatusCode;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
@@ -65,7 +65,6 @@ impl ChatError {
|
||||
Some(error) => match error {
|
||||
ErrorType::Unspecified => 500,
|
||||
ErrorType::BadApiKey
|
||||
| ErrorType::BadUserApiKey
|
||||
| ErrorType::InvalidAuthId
|
||||
| ErrorType::AuthTokenNotFound
|
||||
| ErrorType::AuthTokenExpired
|
||||
|
Reference in New Issue
Block a user