1. Use instanceof pattern matching.
  2. Use Mono.error() method instead of throw keyword inside of flatMap().
  3. Simplify Return statements.