AccountsResult

org.sigilaris.core.application.feature.accounts.domain.AccountsBranding$package.AccountsResult

Companion for AccountsResult, providing construction and extraction.

Attributes

Source
AccountsBranding.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

inline def apply[A](value: A): AccountsResult[A]

Wraps a value as an accounts-branded result.

Wraps a value as an accounts-branded result.

Type parameters

A

the underlying result type

Value parameters

value

the result payload

Attributes

Returns

the branded result

Source
AccountsBranding.scala

Inherited methods

inline protected def unwrap[A](value: A): A

Attributes

Inherited from:
ModuleBrandingCompanion
Source
ModuleBrandingCompanion.scala
inline protected def wrap[A](value: A): A

Attributes

Inherited from:
ModuleBrandingCompanion
Source
ModuleBrandingCompanion.scala

Extensions

Extensions

extension [A](result: AccountsResult[A])
inline def value: A

Extracts the underlying result payload.

Extracts the underlying result payload.

Attributes

Returns

the unwrapped result value

Source
AccountsBranding.scala