pub enum BitgetErrorCode {
InvalidApiKey,
InvalidSignature,
RateLimitExceeded,
InvalidRequest,
InsufficientFunds,
BadSymbol,
OrderNotFound,
Unknown(i64),
}Expand description
Bitget error codes and their meanings.
Reference: https://www.bitget.com/api-doc/common/error-code
Variants§
InvalidApiKey
Invalid API key (40001)
InvalidSignature
Invalid signature (40002)
RateLimitExceeded
Rate limit exceeded (40003)
InvalidRequest
Invalid request parameters (40004)
InsufficientFunds
Insufficient funds (40005)
BadSymbol
Bad symbol / Invalid trading pair (40006)
OrderNotFound
Order not found (40007)
Unknown(i64)
Unknown error code
Implementations§
Trait Implementations§
Source§impl Clone for BitgetErrorCode
impl Clone for BitgetErrorCode
Source§fn clone(&self) -> BitgetErrorCode
fn clone(&self) -> BitgetErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BitgetErrorCode
impl Debug for BitgetErrorCode
Source§impl PartialEq for BitgetErrorCode
impl PartialEq for BitgetErrorCode
impl Copy for BitgetErrorCode
impl Eq for BitgetErrorCode
impl StructuralPartialEq for BitgetErrorCode
Auto Trait Implementations§
impl Freeze for BitgetErrorCode
impl RefUnwindSafe for BitgetErrorCode
impl Send for BitgetErrorCode
impl Sync for BitgetErrorCode
impl Unpin for BitgetErrorCode
impl UnwindSafe for BitgetErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more