MCPcopy Index your code
hub / github.com/MALSync/MALSync / error

Method error

src/kitsu/kitsuClass.ts:154–167  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

152 );
153 },
154 error(result) {
155 try {
156 con.error(result);
157 $('#mal-sync-login #mal-sync-button').prop('disabled', false);
158 if (result.responseJSON.error === 'invalid_grant') {
159 utils.flashm(api.storage.lang('kitsuClass_authentication_Wrong'));
160 return;
161 }
162 utils.flashm(result.responseJSON.error_description);
163 } catch (e) {
164 con.error(e);
165 utils.flashm(result.responseText);
166 }
167 },
168 });
169 });
170

Callers 15

createTableFunction · 0.80
startFunction · 0.80
logErFunction · 0.80
loopElFunction · 0.80
iframe.tsFile · 0.80
addVideoTimeFunction · 0.80
popup.tsFile · 0.80
checkFillFunction · 0.80
authenticationMethod · 0.80
eeMethod · 0.80
oauthFunction · 0.80

Calls 1

langMethod · 0.80

Tested by

no test coverage detected