class Kube::Error::API
- Kube::Error::API
- Kube::Error
- Exception
- Reference
- Object
Direct Known Subclasses
- Kube::Error::BadRequest
- Kube::Error::Conflict
- Kube::Error::Forbidden
- Kube::Error::InternalError
- Kube::Error::Invalid
- Kube::Error::MethodNotAllowed
- Kube::Error::NotFound
- Kube::Error::ServerTimeout
- Kube::Error::ServiceUnavailable
- Kube::Error::Timeout
- Kube::Error::Unauthorized
- Kube::Error::WatchClosed
Defined in:
kube/error.crConstructors
- .new(method, path, code : HTTP::Status, status : K8S::Apimachinery::Apis::Meta::V1::Status)
- .new(method : String, path : String, code : HTTP::Status, reason : String | Nil, status : K8S::Apimachinery::Apis::Meta::V1::Status | Nil = nil)
Instance Method Summary
- #code : Int32
- #method : String
- #path : String
- #reason : String
- #status : K8S::Apimachinery::Apis::Meta::V1::Status | Nil
Constructor Detail
def self.new(method, path, code : HTTP::Status, status : K8S::Apimachinery::Apis::Meta::V1::Status)
#
def self.new(method : String, path : String, code : HTTP::Status, reason : String | Nil, status : K8S::Apimachinery::Apis::Meta::V1::Status | Nil = nil)
#