Creates a functional error boundary wrapper using React hooks
React library instance
Component to wrap
Error boundary options
Wrapped component with error boundary
Creates a functional error boundary wrapper using React hooks