BaseCommandHandler

uk.gov.hmrc.apiplatform.modules.commands.applications.domain.services.BaseCommandHandler

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

object Implicits

Attributes

Inherited from:
CommandHandlerTypes
Supertypes
class Object
trait Matchable
class Any

Inherited types

type AppCmdResult = Future[Either[Failures, Success]]

Attributes

Inherited from:
CommandHandlerTypes
type AppCmdResultT = EitherT[Future, Failures, Success]

Attributes

Inherited from:
CommandHandlerTypes
type Failures = NonEmptyList[CommandFailure]

Attributes

Inherited from:
CommandHandlerTypes
type Success = S

Attributes

Inherited from:
CommandHandlerTypes

Value members

Concrete methods

def cond(cond: => Boolean, left: CommandFailure): Validated[Failures, Unit]
def cond(cond: => Boolean, left: String): Validated[Failures, Unit]
def cond[R](cond: => Boolean, left: CommandFailure, rValue: R): Validated[Failures, R]
def mustBeDefined[R](value: Option[R], left: CommandFailure): Validated[Failures, R]
def mustBeDefined[R](value: Option[R], left: String): Validated[Failures, R]