Skip to content

Class ModerinthApiError

🏭 Constructors

constructor

ts
new ModerinthApiError(url: string, status: number, body: string): ModerinthApiError

Parameters

  • url: string
  • status: number
  • body: string

Return Type

  • ModerinthApiError

Defined in: packages/modrinth/index.ts:159

🏷️ Properties

body

ts
body: string

Defined in: packages/modrinth/index.ts:159

status

ts
status: number

Defined in: packages/modrinth/index.ts:159

url

ts
url: string

Defined in: packages/modrinth/index.ts:159

Released under the MIT License.