CSVException
Base exception reported by CSV handling methods. May be thrown, raised through fs2.Stream#raiseError or returned as Left
, depending on context.
Exception
subclasses denote errors which make CSV parsing or rendering completely impossible, while Error
s are typically local and mean that at least partial results should be available.
For possible error codes see concrete classes implementations.
Position is the record and line number at which error has been detected. See Position for row and line description.
col
is the position (character) at given line at which the error has been detected. 0
means "before first character".
field
is the name (key) of field at which error has been detected. It may be a name from header or a number (starting with 0
) if no header is present.
Value parameters
- cause
-
the root exception, if available
- col
-
column (character) at which error occurred
- field
-
field name at which error occurred
- message
-
error message
- messageCode
-
error code
- position
-
source row (record) and line at which error occurred
Attributes
- Graph
-
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes