Instantiates a new error with a message and an optional cause.
the invalid pod name.
the type of the resource.
optional underlying cause of the error.
optional metadata to be reported.
source error (if any)
error message
additional metadata (if any)
Optional
Readonly
Static
Instantiates a new error with a message and an optional cause.