/// Errors of the synchronization primitives.
///
/// ```
/// use pragma_sync::{AtomicCounter, SyncError};
///
/// let full = AtomicCounter::new(usize::MAX);
/// assert_eq!(full.increment(), Err(SyncError::CounterOverflow));
/// assert_eq!(full.get(), usize::MAX); // the value is left as it was
/// ```