case class ChecksumMismatch(bits: BitVector, expected: BitVector, actual: BitVector, context: List[String] = Nil) extends Err with Product with Serializable
Indicates a checksum over bits
did not match the expected value.
- Source
- ChecksumMismatch.scala
- Alphabetic
- By Inheritance
- ChecksumMismatch
- Serializable
- Product
- Equals
- Err
- AnyRef
- Any
- by ValueEnrichedWithTuplingSupport
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toany2stringadd[ChecksumMismatch] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ChecksumMismatch, B)
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toArrowAssoc[ChecksumMismatch] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val a: ChecksumMismatch
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toValueEnrichedWithTuplingSupport[ChecksumMismatch] performed by method ValueEnrichedWithTuplingSupport in scodec.codecs.
- Definition Classes
- ValueEnrichedWithTuplingSupport
- val actual: BitVector
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bits: BitVector
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val context: List[String]
Gets a stack of context identifiers.
Gets a stack of context identifiers.
The head of the list is the outermost (i.e., least specific) identifier.
- Definition Classes
- ChecksumMismatch → Err
- def ensuring(cond: (ChecksumMismatch) => Boolean, msg: => Any): ChecksumMismatch
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toEnsuring[ChecksumMismatch] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ChecksumMismatch) => Boolean): ChecksumMismatch
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toEnsuring[ChecksumMismatch] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ChecksumMismatch
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toEnsuring[ChecksumMismatch] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ChecksumMismatch
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toEnsuring[ChecksumMismatch] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expected: BitVector
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toStringFormat[ChecksumMismatch] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def message: String
Gets a description of the error.
Gets a description of the error.
- Definition Classes
- ChecksumMismatch → Err
- def messageWithContext: String
Gets a description of the error with the context identifiers prefixing the message.
Gets a description of the error with the context identifiers prefixing the message.
- Definition Classes
- Err
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def pushContext(ctx: String): Err
Returns a new error with the specified context identifier pushed in to the context stack.
Returns a new error with the specified context identifier pushed in to the context stack.
- Definition Classes
- ChecksumMismatch → Err
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Err → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def ~[B](b: B): (ChecksumMismatch, B)
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toValueEnrichedWithTuplingSupport[ChecksumMismatch] performed by method ValueEnrichedWithTuplingSupport in scodec.codecs.
- Definition Classes
- ValueEnrichedWithTuplingSupport
Deprecated Value Members
- def →[B](y: B): (ChecksumMismatch, B)
- Implicit
- This member is added by an implicit conversion from ChecksumMismatch toArrowAssoc[ChecksumMismatch] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.