Skip to main content

ErrorCode

Enum ErrorCode 

Source
#[repr(u64)]
pub enum ErrorCode {
Show 68 variants NoError = 0, UnknownObjectInObjectSpecifier = 1, UnknownTargetObjectType = 2, UnknownObjectInstance = 3, UnknownAttributeName = 4, ReadonlyAttributeAccessDenied = 5, UnknownObjectType = 6, InvalidAttributeValue = 7, SyntaxError = 8, VerificationError = 9, ValidationError = 10, ObjectIdentifierInUse = 11, ParametersImproperlySpecified = 12, InsufficientParametersSpecified = 13, UnsupportedOptionRequested = 14, Busy = 15, NotAvailableForProcessing = 16, CommandNotValidForCurrentState = 17, NoMaterialAltered = 18, MaterialPartiallyProcessed = 19, AllMaterialProcessed = 20, RecipeSpecificationError = 21, FailedDuringProcessing = 22, FailedWhileNotProcessing = 23, FailedDueToLackOfMaterial = 24, JobAborted = 25, JobStopped = 26, JobCancelled = 27, CannotChangeSelectedRecipe = 28, UnknownEvent = 29, DuplicateReportID = 30, UnknownDataReport = 31, DataReportNotLinked = 32, UnknownTraceReport = 33, DuplicateTraceID = 34, TooManyDataReports = 35, SamplePeriodOutOfRange = 36, GroupSizeTooLarge = 37, RecoveryActionCurrentlyInvalid = 38, BusyWithAnotherRecovery = 39, NoActiveRecoveryAction = 40, ExceptionRecoveryFailed = 41, ExceptionRecoveryAborted = 42, InvalidTableElement = 43, UnknownTableElement = 44, CannotDeletePredefined = 45, InvalidToken = 46, InvalidParameter = 47, LoadPortDoesNotExist = 48, LoadPortAlreadyInUse = 49, MissingCarrier = 50, ActionWillBePerformed = 32_768, ActionCannotBePerformedNow = 32_769, ActionFailedDueToErrors = 32_770, InvalidCommand = 32_771, ClientAlr = 32_772, DuplicateClientID = 32_773, InvalidClientType = 32_774, IncompatibleVersions = 32_775, UnrecognizedClientID = 32_776, FailedCompletedUnsuccessfully = 32_777, FailedUnsafe = 32_778, SensorDetectedObstacle = 32_779, MaterialNotSent = 32_780, MaterialNotReceived = 32_781, MaterialLost = 32_782, HardwareFailure = 32_783, TransferCancelled = 32_784,
}
Expand description

§ERRCODE

Code identifying an error.

TODO: Implement user defined errors.


§Used By
  • S1F20
  • S3F18, S3F20, S3F22, S3F24, S3F26, S3F28, S3F30, S3F32, S3F34, S3F36
  • S4F20, S4F22, S4F23, S4F31, S4F33
  • S5F14, S5F15, S5F18
  • S6F25, S6F30
  • S13F14, S13F16
  • S14F2, S14F4, S14F5, S14F6, S14F8, S14F10, S14F12, S14F14, S14F16, S14F18, S14F20, S14F21, S14F26, S14F28
  • S15F4, S15F6, S15F8, S15F10, S15F12, S15F14, S15F16, S15F18, S15F20, S15F22, S15F24, S15F26, S15F28, S15F30, S15F32, S15F34, S15F36, S15F38, S15F40, S15F42, S15F44, S15F48, S15F53
  • S16F4, S16F6, S16F7, S16F12, S16F16, S16F18, S16F24, S16F26, S16F28
  • S17F2, S17F4, S17F6, S17F8, S17F10, S17F12, S17F14

Variants§

§

NoError = 0

§

UnknownObjectInObjectSpecifier = 1

§

UnknownTargetObjectType = 2

§

UnknownObjectInstance = 3

§

UnknownAttributeName = 4

§

ReadonlyAttributeAccessDenied = 5

§

UnknownObjectType = 6

§

InvalidAttributeValue = 7

§

SyntaxError = 8

§

VerificationError = 9

§

ValidationError = 10

§

ObjectIdentifierInUse = 11

§

ParametersImproperlySpecified = 12

§

InsufficientParametersSpecified = 13

§

UnsupportedOptionRequested = 14

§

Busy = 15

§

NotAvailableForProcessing = 16

§

CommandNotValidForCurrentState = 17

§

NoMaterialAltered = 18

§

MaterialPartiallyProcessed = 19

§

AllMaterialProcessed = 20

§

RecipeSpecificationError = 21

§

FailedDuringProcessing = 22

§

FailedWhileNotProcessing = 23

§

FailedDueToLackOfMaterial = 24

§

JobAborted = 25

§

JobStopped = 26

§

JobCancelled = 27

§

CannotChangeSelectedRecipe = 28

§

UnknownEvent = 29

§

DuplicateReportID = 30

§

UnknownDataReport = 31

§

DataReportNotLinked = 32

§

UnknownTraceReport = 33

§

DuplicateTraceID = 34

§

TooManyDataReports = 35

§

SamplePeriodOutOfRange = 36

§

GroupSizeTooLarge = 37

§

RecoveryActionCurrentlyInvalid = 38

§

BusyWithAnotherRecovery = 39

§

NoActiveRecoveryAction = 40

§

ExceptionRecoveryFailed = 41

§

ExceptionRecoveryAborted = 42

§

InvalidTableElement = 43

§

UnknownTableElement = 44

§

CannotDeletePredefined = 45

§

InvalidToken = 46

§

InvalidParameter = 47

§

LoadPortDoesNotExist = 48

§

LoadPortAlreadyInUse = 49

§

MissingCarrier = 50

§

ActionWillBePerformed = 32_768

§

ActionCannotBePerformedNow = 32_769

§

ActionFailedDueToErrors = 32_770

§

InvalidCommand = 32_771

§

ClientAlr = 32_772

§

DuplicateClientID = 32_773

§

InvalidClientType = 32_774

§

IncompatibleVersions = 32_775

§

UnrecognizedClientID = 32_776

§

FailedCompletedUnsuccessfully = 32_777

§

FailedUnsafe = 32_778

§

SensorDetectedObstacle = 32_779

§

MaterialNotSent = 32_780

§

MaterialNotReceived = 32_781

§

MaterialLost = 32_782

§

HardwareFailure = 32_783

§

TransferCancelled = 32_784

Trait Implementations§

Source§

impl Clone for ErrorCode

Source§

fn clone(&self) -> ErrorCode

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ErrorCode

Source§

impl Debug for ErrorCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<ErrorCode> for u64

Source§

fn from(enum_value: ErrorCode) -> Self

Converts to this type from the input type.
Source§

impl From<ErrorCode> for Item

Source§

fn from(value: ErrorCode) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<Item> for ErrorCode

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Item) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for ErrorCode

Source§

type Error = TryFromPrimitiveError<ErrorCode>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u64) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for ErrorCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.