import { errorMessage , severity , severityType , showError } from "./WebappStore" ; export function setUserMessage ( message , sever ? ) { errorMessage . set ( message ) ; if ( sever ) { severity . set ( sever ) ; } else { severity . set ( severityType . error ) ; } console . log ( "ProjectIt User Message: " + message ) ; showError . set ( true ) ; }