dk.sdu.cloud.CommonErrorMessage

UCloud Developer Guide / Core / Core Types

CommonErrorMessage

API: Stable

A generic error message

data class CommonErrorMessage(
    val why: String,
    val errorCode: String?,
)

UCloud uses HTTP status code for all error messages. In addition and if possible, UCloud will include a message using a common format. Note that this is not guaranteed to be included in case of a failure somewhere else in the network stack. For example, UCloud's load balancer might not be able to contact the backend at all. In such a case UCloud will not include a more detailed error message.

Properties

Last updated