vapi std errors: file locations

The file_locations structure identifies the file(s) that caused the operation to report the error.

Some types of errors are caused by a problem with one or more files. This structure is intended to be used as the payload to identify those files when the operation reports errors like vapi.std.errors.not_found. See vapi.std.errors.error.data.

Representation:

{
    "primary""string",
    "secondary"[
        "string",
        "string"
    ]
}

Attributes:

Name Type Description
Required
primary string String identifying the file that triggered the error.

secondary string[] Array (possibly empty) of strings identifying other files that caused the primary file to trigger the error.