CsvError

zio.blocks.schema.csv.CsvError
See theCsvError companion class
object CsvError

Attributes

Companion
class
Source
CsvError.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
CsvError.type

Members list

Type members

Classlikes

final case class ParseError(message: String, row: Int, column: Int) extends CsvError

Parse error - occurs when CSV format is invalid.

Parse error - occurs when CSV format is invalid.

Value parameters

column

Column number where the error occurred (1-based)

message

The error message describing the parse failure

row

Row number where the error occurred (1-based)

Attributes

Source
CsvError.scala
Supertypes
trait Product
trait Equals
class CsvError
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class TypeError(message: String, row: Int, column: Int, fieldName: String) extends CsvError

Type error - occurs when a field cannot be converted to the expected type.

Type error - occurs when a field cannot be converted to the expected type.

Value parameters

column

Column number where the error occurred (1-based)

fieldName

The name of the field that failed type conversion

message

The error message describing the type conversion failure

row

Row number where the error occurred (1-based)

Attributes

Source
CsvError.scala
Supertypes
trait Product
trait Equals
class CsvError
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala