Hierarchy

Index

Constructors

constructor

Properties

description

description: string

A detailed description of the type of error encountered.

name

name: string

Unique name of the error message

positions

positions: Array<CSVPosition>

A dictionary of each error encountered and it's position in the file.

solution

solution: string

Possible solutions to fix the errors.

title

title: string

Display Name (title) of the error message

type

type: string

Type of error detected. There are two types of errors.

structural errors means that there is something wrong with the csv file. For example; this can be wrong number of columns, all rows don't have the right number of columns, the header does not contain the right column names, etc.

content errors means that the information given fails the validation tests. For example; the latitude or longitude has invalid numbers or characters, the name contains invalid characters,etc.

Methods

clone

getClass

  • getClass(): Function

mapping

  • mapping(): {}

serializeArray

  • serializeArray(obj: any[]): Object

serializeObject

  • serializeObject(obj: any): any

serializeObjectInstance

  • serializeObjectInstance(obj: Object): Object

stringify

  • stringify(): string

toJSONObject

  • toJSONObject(): Object