reactivemongo.api.commands

UpdateWriteResult

case class UpdateWriteResult(ok: Boolean, n: Int, nModified: Int, upserted: Seq[Upserted], writeErrors: Seq[WriteError], writeConcernError: Option[WriteConcernError], code: Option[Int], errmsg: Option[String]) extends Exception with WriteResult with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, WriteResult, NoStackTrace, DatabaseException, ReactiveMongoException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UpdateWriteResult
  2. Serializable
  3. Product
  4. Equals
  5. WriteResult
  6. NoStackTrace
  7. DatabaseException
  8. ReactiveMongoException
  9. Exception
  10. Throwable
  11. Serializable
  12. AnyRef
  13. Any
Implicitly
  1. by exceptionWrapper
  2. by any2stringadd
  3. by any2stringfmt
  4. by any2ArrowAssoc
  5. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdateWriteResult(ok: Boolean, n: Int, nModified: Int, upserted: Seq[Upserted], writeErrors: Seq[WriteError], writeConcernError: Option[WriteConcernError], code: Option[Int], errmsg: Option[String])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (UpdateWriteResult, B)

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to ArrowAssoc[UpdateWriteResult] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def addSuppressed(arg0: Throwable): Unit

    Definition Classes
    Throwable
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val code: Option[Int]

    error code

    error code

    Definition Classes
    UpdateWriteResultWriteResultDatabaseException
  12. def ensuring(cond: (UpdateWriteResult) ⇒ Boolean, msg: ⇒ Any): UpdateWriteResult

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to Ensuring[UpdateWriteResult] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (UpdateWriteResult) ⇒ Boolean): UpdateWriteResult

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to Ensuring[UpdateWriteResult] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): UpdateWriteResult

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to Ensuring[UpdateWriteResult] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): UpdateWriteResult

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to Ensuring[UpdateWriteResult] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. val errmsg: Option[String]

    Definition Classes
    UpdateWriteResultWriteResult
  18. def fillInStackTrace(): Throwable

    Definition Classes
    NoStackTrace → Throwable
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def flatten: UpdateWriteResult

  21. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. def getCause(): Throwable

    Definition Classes
    Throwable
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def getLocalizedMessage(): String

    Definition Classes
    Throwable
  25. def getMessage(): String

    Definition Classes
    DatabaseExceptionReactiveMongoException → Throwable
  26. def getStackTrace(): Array[StackTraceElement]

    Definition Classes
    Throwable
  27. def getStackTraceString: String

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to RichException performed by method exceptionWrapper in scala.Predef.
    Definition Classes
    RichException
  28. final def getSuppressed(): Array[Throwable]

    Definition Classes
    Throwable
  29. def hasErrors: Boolean

    Definition Classes
    WriteResult
  30. def inError: Boolean

    Definition Classes
    WriteResult
  31. def initCause(arg0: Throwable): Throwable

    Definition Classes
    Throwable
  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. def isNotAPrimaryError: Boolean

    Tells if this error is due to a write on a secondary node.

    Tells if this error is due to a write on a secondary node.

    Definition Classes
    DatabaseException
  34. def isUnauthorized: Boolean

    Tells if this error is related to authentication issues.

    Tells if this error is related to authentication issues.

    Definition Classes
    DatabaseException
  35. def message: String

    explanation message

    explanation message

    Definition Classes
    WriteResultReactiveMongoException
  36. val n: Int

    Definition Classes
    UpdateWriteResultWriteResult
  37. val nModified: Int

  38. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  41. val ok: Boolean

    Definition Classes
    UpdateWriteResultWriteResult
  42. def originalDocument: None.type

    original document of this error

    original document of this error

    Definition Classes
    WriteResultDatabaseException
  43. def printStackTrace(arg0: PrintWriter): Unit

    Definition Classes
    Throwable
  44. def printStackTrace(arg0: PrintStream): Unit

    Definition Classes
    Throwable
  45. def printStackTrace(): Unit

    Definition Classes
    Throwable
  46. def setStackTrace(arg0: Array[StackTraceElement]): Unit

    Definition Classes
    Throwable
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def toString(): String

    Definition Classes
    Throwable → AnyRef → Any
  49. val upserted: Seq[Upserted]

  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. val writeConcernError: Option[WriteConcernError]

    Definition Classes
    UpdateWriteResultWriteResult
  54. val writeErrors: Seq[WriteError]

    Definition Classes
    UpdateWriteResultWriteResult
  55. def [B](y: B): (UpdateWriteResult, B)

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to ArrowAssoc[UpdateWriteResult] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (updateWriteResult: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (updateWriteResult: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: UpdateWriteResult

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to ArrowAssoc[UpdateWriteResult] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (updateWriteResult: ArrowAssoc[UpdateWriteResult]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: UpdateWriteResult

    Implicit information
    This member is added by an implicit conversion from UpdateWriteResult to Ensuring[UpdateWriteResult] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (updateWriteResult: Ensuring[UpdateWriteResult]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WriteResult

Inherited from NoStackTrace

Inherited from DatabaseException

Inherited from ReactiveMongoException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion exceptionWrapper from UpdateWriteResult to RichException

Inherited by implicit conversion any2stringadd from UpdateWriteResult to StringAdd

Inherited by implicit conversion any2stringfmt from UpdateWriteResult to StringFormat

Inherited by implicit conversion any2ArrowAssoc from UpdateWriteResult to ArrowAssoc[UpdateWriteResult]

Inherited by implicit conversion any2Ensuring from UpdateWriteResult to Ensuring[UpdateWriteResult]

Ungrouped