Step-by-step guide to building a custom Error Boundary class component in React. Learn how to implement getDerivedStateFromError and componentDidCatch methods.