class GoError { private readonly __GoError: GoError private constructor() name: string message: string stack?: string value: any }