Error boundaries catch errors thrown during React rendering and lifecycle work below them. They do not catch every async or global JavaScript error.