Skip to content

Export ErrorMessage from index.ts? #584

@cakoose

Description

@cakoose

I'm using the "manual error reporting" flow. What's a little strange is that the ErrorMessage type (returned from ErrorReporting.event() isn't exported from the top-level of the package.

I end up having to import it from a weird spot, e.g.:

import {ErrorMessage} from '@google-cloud/error-reporting/build/src/classes/error-message';

Is there a better way to import this type?

Metadata

Metadata

Assignees

Labels

api: clouderrorreportingIssues related to the googleapis/nodejs-error-reporting API.priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions