> For the complete documentation index, see [llms.txt](https://jmdash.gitbook.io/jmdash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jmdash.gitbook.io/jmdash-docs/design-documents/initial-design-of-error-handling-document/the-error-tree/timeerrors.md).

# TimeErrors

This page contains all of the errors listed in the **TimeError** category, these are related to the [`.jtime` library](/jmdash-docs/jmbasics/syntax101/calling-functions/other-libraries/file-read-and-write.md)

```
TimeError;
    -> InvalidTimestamp;
        // Error when a timestamp is incorrectly formatted or invalid
        // e.g. `tm.local{>> invalidTimestampVariable};`

    -> TimeOverflow;
        // Error when a time calculation exceeds the representable range
        // e.g. Adding too much time to a timestamp causing an overflow

    -> UnavailableSystemTime;
        // Error when the system's local time cannot be accessed or retrieved
        // e.g. `tm.local{>> timeVariable};` when the system clock is unavailable

    -> TimeFormatError;
        // Error when converting or formatting time in an unsupported or incorrect format
        // e.g. `tm.local.str{>> timeVariableInWrongFormat};`

    -> InvalidTimeOperation;
        // Error when performing an invalid operation with time values
        // e.g. Adding a timestamp to a string or an unsupported data type
```
