method

error

error(msg)
public

Show an error and exit