View source code Display the source code in std/csv.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

Enum std.csv.Malformed

Determines the behavior for when an error is detected.

Disabling exception will follow these rules:

  • A quote can appear in a field if the field was not quoted.
  • If in a quoted field any quote by itself, not at the end of a field, will end processing for that field.
  • The field is ended when there is no input, even if the quote was not closed.
  • If the given header does not match the order in the input, the content will return as it is found in the input.
  • If the given header contains columns not found in the input they will be ignored.

The enum base type is int .

Enum members

Name Description
ignore No exceptions are thrown due to incorrect CSV.
throwException Use exceptions when input has incorrect CSV.

Authors

Jesse Phillips

License

Boost License 1.0.

Comments