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 readonly

ts
body: string

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

status readonly

ts
status: number

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

url readonly

ts
url: string

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