FieldInfo

info.fingo.spata.error.FieldInfo
final case class FieldInfo

Field information provided in case of error.

Depending and the stage of CSV processing (parsing, accessing) and the type of error, it may be available fully (with name and index), partially (with name or index) or not available at all.

Value parameters

index

optional field index

name

optional field name

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Gets string representation of field index.

Gets string representation of field index.

Attributes

Returns

field index or empty string if field index is unavailable

inline def isDefined: Boolean

Check if any field information is available.

Check if any field information is available.

Attributes

Returns

true if field name or index are defined.

Gets string representation of field name.

Gets string representation of field name.

Attributes

Returns

field name or empty string if field name is unavailable

override def toString: String

Provides string representation of field info.

Provides string representation of field info.

Provides information about field name and index if available. For unavailable values triple question mark is used.

Attributes

Returns

information about field as string

Definition Classes
Any

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product