Fix session issues
Close #809 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import { ServerParseError } from "@apollo/client/link/http";
|
||||
import { ServerError } from "@apollo/client/link/utils";
|
||||
|
||||
function isServerError(
|
||||
err: Error | ServerError | ServerParseError | undefined
|
||||
): err is ServerError {
|
||||
return !!err && (err as ServerError).statusCode !== undefined;
|
||||
}
|
||||
|
||||
export { isServerError };
|
||||
Reference in New Issue
Block a user