Object/Class

com.soundcloud.twinagle

ErrorCode

Related Docs: class ErrorCode | package twinagle

Permalink

object ErrorCode extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErrorCode
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Aborted extends ErrorCode

    Permalink

    The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.

  5. object AlreadyExists extends ErrorCode

    Permalink

    An attempt to create an entity failed because one already exists.

  6. object BadRoute extends ErrorCode

    Permalink

    The requested URL path wasn't routable to a Twirp service and method.

    The requested URL path wasn't routable to a Twirp service and method. This is returned by generated server code and should not be returned by application code (use "not_found" or "unimplemented" instead).

  7. object Canceled extends ErrorCode

    Permalink

    The operation was cancelled.

  8. object Dataloss extends ErrorCode

    Permalink

    The operation resulted in unrecoverable data loss or corruption.

  9. object DeadlineExceeded extends ErrorCode

    Permalink

    Operation expired before completion.

    Operation expired before completion. For operations that change the state of the system, this error may be returned even if the operation has completed successfully (timeout).

  10. object FailedPrecondition extends ErrorCode

    Permalink

    The operation was rejected because the system is not in a state required for the operation's execution.

    The operation was rejected because the system is not in a state required for the operation's execution. For example, doing an rmdir operation on a directory that is non-empty, or on a non-directory object, or when having conflicting read-modify-write on the same resource.

  11. object Internal extends ErrorCode

    Permalink

    When some invariants expected by the underlying system have been broken.

    When some invariants expected by the underlying system have been broken. In other words, something bad happened in the library or backend service. Twirp specific issues like wire and serialization problems are also reported as "internal" errors.

  12. object InvalidArgument extends ErrorCode

    Permalink

    The client specified an invalid argument.

    The client specified an invalid argument. This indicates arguments that are invalid regardless of the state of the system (i.e. a malformed file name, required argument, number out of range, etc.).

  13. object NotFound extends ErrorCode

    Permalink

    Some requested entity was not found.

  14. object OutOfRange extends ErrorCode

    Permalink

    The operation was attempted past the valid range.

    The operation was attempted past the valid range. For example, seeking or reading past end of a paginated collection. Unlike "invalid_argument", this error indicates a problem that may be fixed if the system state changes (i.e. adding more items to the collection). There is a fair bit of overlap between "failed_precondition" and "out_of_range". We recommend using "out_of_range" (the more specific error) when it applies so that callers who are iterating through a space can easily look for an "out_of_range" error to detect when they are done.

  15. object PermissionDenied extends ErrorCode

    Permalink

    The caller does not have permission to execute the specified operation.

    The caller does not have permission to execute the specified operation. It must not be used if the caller cannot be identified (use "unauthenticated" instead).

  16. object ResourceExhausted extends ErrorCode

    Permalink

    Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.

  17. object Unauthenticated extends ErrorCode

    Permalink

    The request does not have valid authentication credentials for the operation.

  18. object Unavailable extends ErrorCode

    Permalink

    The service is currently unavailable.

    The service is currently unavailable. This is most likely a transient condition and may be corrected by retrying with a backoff.

  19. object Unimplemented extends ErrorCode

    Permalink

    The operation is not implemented or not supported/enabled in this service.

  20. object Unknown extends ErrorCode

    Permalink

    An unknown error occurred.

    An unknown error occurred. For example, this can be used when handling errors raised by APIs that do not return any error information.

  21. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def fromString(code: String): Option[ErrorCode]

    Permalink
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped