CSVException

info.fingo.spata.error.CSVException
sealed abstract class CSVException extends Exception

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 Errors 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 Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable

Concrete fields

val col: Option[Int]