ErrorMode

sealed trait ErrorMode

Used to control what kind of behavior you get if the a CharSequence you are trying to parse into a fansi.Str contains an Ansi escape not recognized by Fansi as a valid color.

Companion
object
class Object
trait Matchable
class Any
object Sanitize
object Strip
object Throw

Value members

Abstract methods

def handle(sourceIndex: Int, raw: CharSequence): Int

Given an unknown Ansi escape was found at sourceIndex inside your raw: CharSequence, what index should you resume parsing at?

Given an unknown Ansi escape was found at sourceIndex inside your raw: CharSequence, what index should you resume parsing at?