DecodingFailure

io.github.iltotore.iron.macros.ReflectUtil.DecodingFailure

A decoding failure.

Attributes

Source
ReflectUtil.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class AndNotInlined(left: DecodingResult[Boolean], right: Either[DecodingFailure, Boolean])

A boolean AND is not inlined.

A boolean AND is not inlined.

Value parameters

left

the left operand

right

the right operand

Attributes

Source
ReflectUtil.scala
final case class ApplyNotInlined(name: String, parameters: List[Either[DecodingFailure, _]])

A method application is not inlined, probably due to some parameters not being inlined.

A method application is not inlined, probably due to some parameters not being inlined.

Value parameters

parameters

the list of decoded parameters, whether an failure or a value of unknown type

Attributes

Source
ReflectUtil.scala
final case class DefinitionNotInlined(name: String)

A definition is not inlined.

A definition is not inlined.

Value parameters

name

the name definition

Attributes

Source
ReflectUtil.scala
final case class HasBindings(defFailures: List[(String, DecodingFailure)])

The term could not be fully inlined because it has runtime bindings/depends on runtime definitions.

The term could not be fully inlined because it has runtime bindings/depends on runtime definitions.

Value parameters

defFailures

the definitions that the decoder failed to evaluate at compile-time

Attributes

Source
ReflectUtil.scala
final case class HasStatements(block: _quotes.reflect.Block)

The block has possibly side-effecting statements.

The block has possibly side-effecting statements.

Value parameters

block

the block containing statements

Attributes

Source
ReflectUtil.scala
final case class InterpolatorNotInlined(name: String)

The given String interpolator cannot be inlined.

The given String interpolator cannot be inlined.

Attributes

Source
ReflectUtil.scala
final case class NotInlined(term: _quotes.reflect.Term)

A term is not inlined. Note that an inline val/def can still not be inlined by the compiler in some cases.

A term is not inlined. Note that an inline val/def can still not be inlined by the compiler in some cases.

Value parameters

term

the term that is not inlined

Attributes

Source
ReflectUtil.scala
final case class OrNotInlined(left: DecodingResult[Boolean], right: Either[DecodingFailure, Boolean])

A boolean OR is not inlined.

A boolean OR is not inlined.

Value parameters

left

the left operand

right

the right operand

Attributes

Source
ReflectUtil.scala
final case class StringPartsNotInlined(parts: List[DecodingResult[String]])

Some part of the decoded String are not inlined. A more specialized version of ApplyNotInlined.

Some part of the decoded String are not inlined. A more specialized version of ApplyNotInlined.

Value parameters

parts

the parts of the String

Attributes

Source
ReflectUtil.scala
case Unknown extends DecodingFailure

An unknown failure.

An unknown failure.

Attributes

Source
ReflectUtil.scala
final case class VarArgsNotInlined(args: List[Either[DecodingFailure, _]])

Attributes

Source
ReflectUtil.scala