ZX_ERR_WRONG_TYPE

Constant ZX_ERR_WRONG_TYPE 

pub const ZX_ERR_WRONG_TYPE: i32 = -12;
Expand description

The subject of the operation is the wrong type to perform the operation.

For example: Attempting a message_read on a thread handle.