Mastercard interview question

error vs exception