Handle errors as exceptions and use stderr to show them