pub enum BybitErrorCode {
InvalidRequest,
InvalidApiKey,
InvalidSignature,
PermissionDenied,
RateLimitExceeded,
IpNotAllowed,
BadSymbol,
InsufficientFunds,
InsufficientAvailableBalance,
OrderNotFound,
Unknown(i64),
}Expand description
Bybit error codes and their meanings.
Reference: https://bybit-exchange.github.io/docs/v5/error
Variants§
InvalidRequest
Invalid request (10001)
InvalidApiKey
Invalid API key (10003)
InvalidSignature
Invalid signature (10004)
PermissionDenied
Permission denied (10005)
RateLimitExceeded
Rate limit exceeded (10006)
IpNotAllowed
IP not allowed (10010)
BadSymbol
Bad symbol / Invalid symbol (10016)
InsufficientFunds
Insufficient funds (110001)
InsufficientAvailableBalance
Insufficient available balance (110007)
OrderNotFound
Order not found (110008)
Unknown(i64)
Unknown error code
Implementations§
Trait Implementations§
Source§impl Clone for BybitErrorCode
impl Clone for BybitErrorCode
Source§fn clone(&self) -> BybitErrorCode
fn clone(&self) -> BybitErrorCode
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 BybitErrorCode
impl Debug for BybitErrorCode
Source§impl PartialEq for BybitErrorCode
impl PartialEq for BybitErrorCode
impl Copy for BybitErrorCode
impl Eq for BybitErrorCode
impl StructuralPartialEq for BybitErrorCode
Auto Trait Implementations§
impl Freeze for BybitErrorCode
impl RefUnwindSafe for BybitErrorCode
impl Send for BybitErrorCode
impl Sync for BybitErrorCode
impl Unpin for BybitErrorCode
impl UnwindSafe for BybitErrorCode
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