ThemeParks.wiki Parks API - v2.0.0
    Preparing search index...

    Type Alias HistoryErrorBase

    The shape every history error shares: a single error object carrying a machine-readable type and a human-readable message. Each concrete error below pins type to one value, so a 400 oneOf has three DISTINGUISHABLE branches and a generated client gets three distinct types. Do not validate against this base directly — match on error.type.

    type HistoryErrorBase = {
        error: { message: string; type: string };
    }
    Index
    error: { message: string; type: string }