MCPcopy
hub / github.com/mailvelope/mailvelope / objError

Function objError

src/client-API/client-api.js:736–741  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

734}
735
736function objError(error) {
737 if (error instanceof Error || typeof error === 'string') {
738 error = {message: error.message || String(error)};
739 }
740 return error;
741}
742
743function checkConnection() {
744 if (!connected) {

Callers 2

generateMethod · 0.85
handleSyncEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected