how to implement global error handling

join shbcf.ru