Expand description
Error handling and error types
Structs§
- Status
- A Kubernetes status object
Enums§
- Discovery
Error - Possible errors when using API discovery
- Error
- Possible errors from the
Client
Type Aliases§
- Error
Response Deprecated - This type used to be a payload for
kube::Error::Api. It has been replaced byStatus. In the interest of backward compatibility, we keep this type definition here as a deprecated alias.Statusbetter reflects the Kubernetes API conventions and is more versatile. If you need to migrate your code, simply replaceErrorResponsewithStatusand also check helper methods implemented onStatusfor easily identifying common error cases.