catch typecheck elm error