All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ErrorModels.ParsingError.scala Maven / Gradle / Ivy

The newest version!
package io.codec.generic

import cats.Show
import cats.implicits._

abstract class ParsingError
sealed case class StringParsingErrorWithInput[A](message: String, input: A) extends ParsingError
sealed case class StringParsingError(message: String) extends ParsingError

object ParsingError {  
  given ParsingErrorShow: Show[ParsingError] = Show.fromToString[ParsingError] 
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy