---
title: "GenericError | Upload js | Api client"
description: "Documentation for Upload JS"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias GenericError

type GenericError \= {  
    [error](#error): string;  
    [status](#status): HttpStatusCode;  
}

-   Defined in [shared/types.ts:4](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/shared/types.ts#L4)

##### Index

### Properties[](#properties)

[error](#error) [status](#status)

## Properties[](#properties-1)

### error[](#error)

error: string

-   Defined in [shared/types.ts:4](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/shared/types.ts#L4)

### status[](#status)

status: HttpStatusCode

-   Defined in [shared/types.ts:4](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/shared/types.ts#L4)
