Uploaded image for project: 'WireBox DI & AOP'
  1. WIREBOX-78

Simplify error message for missing dependency to be human readable

    Details

    • Type: Improvement
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.2.0
    • Component/s: Injector
    • Labels:
      None

      Description

      Old error message:

      The DSL Definition {REF={null}, REQUIRED={true}, ARGNAME={}, DSL={TestService@foo}, JAVACAST={null}, NAME={TestService}, TYPE={any}, VALUE={null}, SCOPE={variables}} did not produce any resulting dependency
      

      New error message:

      The target 'handlers.Main' requested a missing dependency with a Name of 'TestService' and DSL of 'TestService@foo'
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bradwood Brad Wood
                Reporter:
                bradwood Brad Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: