HISE Logo Forum
    • Categories
    • Register
    • Login

    What is errorHandler state 12?

    Scheduled Pinned Locked Moved Scripting
    5 Posts 2 Posters 330 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aaronventure
      last edited by

      I'm testing my error handler setup for missing samples, which works great if I directly select the correct folder.

      If i select the wrong one, it throws error 10 (samples not found at the linkfile location), and if I then select the correct folder, it throws error 12.

      The error handler doesn't have a description for error 12 and simulate error 12 with the handler, nothing happens.

      If i close the plugin (offline) and load it again with the linkfile pointing to the wrong folder, it starts correctly at error 10 and selecting the correct folder now resolves properly without popping error 12.

      Also, sometimes, error 12 won't show up during the test "first run -> load wrong folder -> error 10 -> load correct folder".

      So, what is error 12?

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @aaronventure
        last edited by

        enum State
        {
        	AppDataDirectoryNotFound,
        	LicenseNotFound,
        	ProductNotMatching,
        	UserNameNotMatching,
        	EmailNotMatching,
        	MachineNumbersNotMatching,
        	LicenseExpired,
        	LicenseInvalid,
        	CriticalCustomErrorMessage,
        	SamplesNotInstalled,
        	SamplesNotFound,
        	IllegalBufferSize,
        	CustomErrorMessage,
        	CustomInformation,
        	numReasons
        };
        

        Saved you the 5 seconds to count the enum: CustomErrorMessage it is..

        A 1 Reply Last reply Reply Quote 1
        • A
          aaronventure @Christoph Hart
          last edited by

          @Christoph-Hart Why would that be popping up?

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @aaronventure
            last edited by

            @aaronventure Are you calling some of the API methods that send a error message?

            A 1 Reply Last reply Reply Quote 0
            • A
              aaronventure @Christoph Hart
              last edited by aaronventure

              @Christoph-Hart

              no, not setting an error message anywhere. as far as I can see, there's only the one for the expansion handler.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              15

              Online

              1.7k

              Users

              11.8k

              Topics

              102.4k

              Posts