local K = require("./constants.luau") return { isUnauthorized = function(error): boolean return type(error.extensions) == "table" and error.extensions.code == K.sourcehut.errors.unauthorized end }