DecodeError

kantan.csv.DecodeError
See theDecodeError companion class
object DecodeError

Declares all possible values of type DecodeError.

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class OutOfBounds(index: Int) extends DecodeError

Error that occurs when attempting to access a CSV cell whose index is outside of its row's boundaries.

Error that occurs when attempting to access a CSV cell whose index is outside of its row's boundaries.

Value parameters

index

index that caused the issue.

Attributes

Supertypes
class DecodeError
class ReadError
class Error
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class TypeError(message: String) extends DecodeError

Error that occurs when attempting to decode a CSV cell or row into an incompatible type.

Error that occurs when attempting to decode a CSV cell or row into an incompatible type.

A typical example of this would be to try and decode a CSV cell into an Int when its content is, say, foobar.

Attributes

Companion
object
Supertypes
class DecodeError
class ReadError
class Error
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object TypeError extends ErrorCompanion[TypeError]

Provides convenience methods for DecodeError.TypeError instance creation.

Provides convenience methods for DecodeError.TypeError instance creation.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class ErrorCompanion[TypeError]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
TypeError.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Implicits

Implicits

implicit lazy val decodeErrorIsError: IsError[DecodeError]