TODO(@gnumonik): Expose the ClassCycleError in the API and report it. _Originally posted by @bladyjoker in https://github.com/mlabs-haskell/lambda-buffers/pull/36#discussion_r1099828919_