Will the computer just freeze or will it display a error message like BSoD?
Its called a kernel panic. Linux usually doesn't get kernel panic because it is very good at handling hardware (What led you to ask this question). In some cases Linux might get kernel panics if you have malfunctioning hardware. In such cases your system will cease to work, producing an error similar to below: