From 11728703ce2cda935414eee0bc417e081698e853 Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Fri, 28 Oct 2022 10:07:36 -0400 Subject: [PATCH] Add back legacy error code --- MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift b/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift index 5ed9d2d..085b9a4 100644 --- a/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift +++ b/MVMCore/MVMCore/ActionHandling/ActionOpenUrlHandler.swift @@ -40,6 +40,10 @@ open class ActionOpenUrlHandler: MVMCoreJSONActionHandlerProtocol { return "Failed to open url: \(url.absoluteString)" } } + + public var errorCode: Int { + return ErrorCode.linkawayFailed.rawValue + } } /// Creates a url and calls open(url: URL)