Package yams.core.exceptions


package yams.core.exceptions
Exceptions for YAMS. Will tell you what went wrong and how to fix it.

This package contains the checked and unchecked exceptions thrown by YAMS when mechanisms or motor controllers are misconfigured. All exceptions include a human-readable message that identifies the missing or invalid field and, where possible, suggests the corrective action. They are typically thrown during mechanism construction before any control loop begins so configuration errors surface immediately at robot startup rather than silently producing unexpected behavior at match time.

Per-Mechanism Configuration Exceptions

Each mechanism type has a dedicated exception thrown when its required configuration fields are absent or logically inconsistent:

Motor Controller Exceptions

Thrown when a motor controller is missing or its configuration is invalid:

Gear Stage Exceptions

Thrown by GearBox when its list of stages is malformed: