Create a new init error request to send to the Extensions API
(
extension_id: &str,
error_type: &str,
request: Option<ErrorRequest<'_>>,
)
| 101 | |
| 102 | /// Create a new init error request to send to the Extensions API |
| 103 | pub fn init_error( |
| 104 | extension_id: &str, |
| 105 | error_type: &str, |
| 106 | request: Option<ErrorRequest<'_>>, |
| 107 | ) -> Result<Request<Body>, Error> { |
| 108 | error_request("init", extension_id, error_type, request) |
| 109 | } |
| 110 | |
| 111 | /// Create a new exit error request to send to the Extensions API |
| 112 | pub fn exit_error( |