Constant ERROR_CODE_DOCUMENTATION
Source pub const ERROR_CODE_DOCUMENTATION: &str = "Error code documentation available in source";
Expand description
Error code documentation
§Reference Errors (MAG-REF-*)
| Code | Description | Remediation |
| MAG-REF-001 | Symbol not found | Verify symbol name and file path; use magellan find to search |
| MAG-REF-002 | Ambiguous symbol | Use fully-qualified name or specify file path |
| MAG-REF-003 | Invalid span | Check byte offsets are within file bounds and start < end |
§Query Errors (MAG-QRY-*)
| Code | Description | Remediation |
| MAG-QRY-001 | Invalid query syntax | Check query format; see command help |
| MAG-QRY-002 | File not found in database | Run magellan watch or magellan verify |
| MAG-QRY-003 | Invalid parameters | Check required arguments for command |
§I/O Errors (MAG-IO-*)
| Code | Description | Remediation |
| MAG-IO-001 | File not found on filesystem | Check file path and permissions |
| MAG-IO-002 | Permission denied | Check file/directory read permissions |
| MAG-IO-003 | Invalid path | Verify path format and escaping |
§Validation Errors (MAG-V-*)
| Code | Description | Remediation |
| MAG-V-001 | Checksum mismatch | Re-index the file; data may be corrupted |
| MAG-V-002 | Span validation failed | Re-index; file may have changed |
| MAG-V-003 | Database corruption | Re-build database from source |