✔️
types-ddd
  • Introduction
  • Result
    • ok
    • success
    • fail
    • combine
  • UniqueEntityID
  • BaseDomainEntity
  • ValueObject
  • Entity
  • AggregateRoot
    • IHandle
    • IDomainEvent
    • DomainEvents
  • WriteList
    • ReadList
  • IUseCase
  • IBaseConnection
  • BaseRepository
  • IRepository
  • Filter
  • IMapper
  • Utils
    • SpecificationComposite
    • ChangesObserver
Powered by GitBook
On this page

Was this helpful?

Result

What results, what is a consequence, the effect of an action.

Result as its name says, returns an instance capable of identifying whether the processing of a function was successful or failed. And most importantly, do not throw errors

import { Result } from 'types-ddd';

Methods

  • ok

  • success

  • fail

  • combine

PreviousIntroductionNextok

Last updated 3 years ago

Was this helpful?