CCD.DLC.Example.2.  A Step Discontinuity.
Functions that have a definition that specify a value at one number when an algebraic rule fails sometimes fail to be continuous at that number only because there is no possible limit of the function at that number. In other words the function fails to be continuous because there is no number $L$ where $\lim_{x \to a} f(x) = L $.

Such examples are commonly used to illustrate functions that are not continuous at a single point because  $\lim_{x \to a} f(x)$ does not exist.

Consider $f(x) =1-x$ when $x < 1$ and $f(x)=x+1$ otherwise. Then  $\lim_{x \to 1^+} f(x) = \lim_{x \to 1}x+1 =2 $ while $\lim_{x \to 1^-} f(x) = \lim_{x \to 1}1-x =0 $ so $f$ does not have a limit as $x \to 1$ and thus is not continuous at $x=1$.

In the GeoGebra sketch below with both mapping diagram and graph to visualize the failure of the limit of $f$ at $x=1$.

Martin Flashman Created with GeoGebra

Notice how the points on the graph are paired with the points on the mapping diagram.