(ctx: &Ctx<'_>, algorithm: &str, format: &str)
| 17 | CryptoKey, |
| 18 | }; |
| 19 | |
| 20 | pub fn algorithm_export_error<T>(ctx: &Ctx<'_>, algorithm: &str, format: &str) -> Result<T> { |
| 21 | Err(DOMException::not_supported_error( |
| 22 | ctx, |
| 23 | ["Export of ", algorithm, " as ", format, " is not supported"].concat(), |
| 24 | )) |
| 25 | } |
| 26 | |
| 27 | pub enum ExportOutput<'js> { |
no test coverage detected