Skip to content
Last Updated
Mar 28, 2025, 03:08

Class ModerinthApiError ​

🏭 Constructors ​

constructor ​

ts
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