class LastError extends Exception with DatabaseException with WriteResult with NoStackTrace with Product14[Boolean, Option[String], Option[Int], Option[Long], Int, Option[String], Boolean, Option[BSONValue], Option[W], Boolean, Option[Int], Option[Int], Seq[WriteError], Option[WriteConcernError]] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LastError
  2. Product14
  3. Product
  4. Equals
  5. NoStackTrace
  6. WriteResult
  7. DatabaseException
  8. ReactiveMongoException
  9. Exception
  10. Throwable
  11. Serializable
  12. AnyRef
  13. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Document = Nothing

Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. val code: Option[Int]

    The result code

    The result code

    Definition Classes
    LastErrorWriteResultDatabaseException
  3. def equals(that: Any): Boolean
    Definition Classes
    LastError → Equals → DatabaseException → AnyRef → Any
  4. val errmsg: Option[String]

    If the result is a failure, the error message

    If the result is a failure, the error message

    Definition Classes
    LastErrorWriteResult
  5. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  6. def getCause(): Throwable
    Definition Classes
    Throwable
  7. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  8. def getMessage(): String
    Definition Classes
    DatabaseExceptionReactiveMongoException → Throwable
  9. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  10. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  11. def hashCode(): Int
    Definition Classes
    LastErrorDatabaseException → AnyRef → Any
  12. def inError: Boolean
    Definition Classes
    LastErrorWriteResult
  13. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  14. 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
  15. def isUnauthorized: Boolean

    Tells if this error is related to authentication issues.

    Tells if this error is related to authentication issues.

    Definition Classes
    DatabaseException
  16. val lastOp: Option[Long]
  17. lazy val message: String

    explanation message

    explanation message

    Definition Classes
    LastErrorWriteResultReactiveMongoException
  18. val n: Int
    Definition Classes
    LastErrorWriteResult
  19. val ok: Boolean
    Definition Classes
    LastErrorWriteResult
  20. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  21. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  22. def printStackTrace(): Unit
    Definition Classes
    Throwable
  23. def productArity: Int
    Definition Classes
    Product14 → Product
  24. def productElement(n: Int): Any
    Definition Classes
    Product14 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  25. def productElementName(n: Int): String
    Definition Classes
    Product
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def productIterator: Iterator[Any]
    Definition Classes
    Product
  28. def productPrefix: String
    Definition Classes
    Product
  29. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  30. val singleShard: Option[String]
  31. def toString(): String
    Definition Classes
    LastErrorDatabaseException → Throwable → AnyRef → Any
  32. val updatedExisting: Boolean
  33. val upserted: Option[BSONValue]
  34. val waited: Option[Int]
  35. val wnote: Option[W]
  36. val writeConcernError: Option[WriteConcernError]
    Definition Classes
    LastErrorWriteResult
  37. val writeErrors: Seq[WriteError]
    Definition Classes
    LastErrorWriteResult
  38. val wtime: Option[Int]
  39. val wtimeout: Boolean

Deprecated Value Members

  1. def _1: Boolean
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  2. def _10: Boolean
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  3. def _11: Option[Int]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  4. def _12: Option[Int]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  5. def _13: Seq[WriteError]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  6. def _14: Option[WriteConcernError]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  7. def _2: Option[String]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  8. def _3: Option[Int]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  9. def _4: Option[Long]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  10. def _5: Int
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  11. def _6: Option[String]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  12. def _7: Boolean
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  13. def _8: Option[BSONValue]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  14. def _9: Option[W]
    Definition Classes
    LastError → Product14
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 0.20.3) No longer a case class

  15. def canEqual(that: Any): Boolean
    Definition Classes
    LastError → Equals
    Annotations
    @deprecated
    Deprecated

    (Since version 0.20.3) No longer a case class

  16. def originalDocument: Option[BSONDocument]

    original document of this error

    original document of this error

    Definition Classes
    LastErrorDatabaseException
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use the detailed properties (e.g. code)