I'm kinda new to coding and I'd like to be able to stop the program and if possible throw up a custom error message from within a function
(as in:
def Rounded_square(lots of inputs):
radius = (calculation)
if radius < 0:
stop.program("The radius is negative")
)