Skip to content

Too much generic errors #56

@anteqkois

Description

@anteqkois

I got the errors like this:

Error: Failed to create order: ResponseError: Response returned an error code
    at Polymarket.createOrder (/<...>/node_modules/.pnpm/pmxtjs@2.19.6_@types+node@18.16.20_ts-node@10.9.1_typescript@5.7.3/node_modules/pmxtjs/dist/pmxt/client.js:887:19)

from

const client = new Polymarket({
    privateKey,
    proxyAddress: '...,
    signatureType: 'gnosis-safe',
  })
// ....
const orderResult = await client.createOrder(orderParams)

SO i think that they are useless and debuging are harder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions