ProblemCode

fmgp.did.comm.protocol.reportproblem2.ProblemCode
See theProblemCode companion object
case class ProblemCode(sorter: 'e' | 'w', scope: 'p' | 'm' | String, descriptors: String*)

Value parameters

scope

gives the sender’s opinion about how much context should be undone if the problem is deemed an erro.

  • p if error undo the full protocol
  • m if error undo last step
  • if error until state
sorter

tells whether the consequence of the problem are fully understood.

  • e is a error
  • w is a warning

Attributes

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

Members list

Value members

Concrete methods

def value: String

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product