TimeErrors

This page contains all of the errors listed in the TimeError category, these are related to the .jtime library

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

Last updated