Skip to content

Improving error messages #95

@ghost

Description

Hi
When using the data package validation, there are error messages that seem unclear. It would be great if these could be made more specific (ie: hone in on what the, say, the index in resources descriptor refers to). As an example, in leaving out the 'name' field in Resource, the top of error stack comes back as:
Descriptor validation error: Missing required property: resources at "" in descriptor and at "/required/0" in profile at "" in descriptor and at "/required/0" in profile at Profile.validate ... datapackage/lib/profile.js:41
@Stephen-Gates, you might be able to phrase this better than I can?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions