changed custom error header
fixes in the Error class
adding try..catch instructions to the Bootstrap