Forums

OverviewFelgo 2 Support (Qt 5) › EntityManager – better error handling

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18347

    Marcin

    Hi Felgo,
    have some suggestions for EntityManager error reporting.
    Is it possible to improve error messages in situations:

    1. When I forget about entityContainer property?
    If property entityContaienr is not set then I get no error message about it.
    Instead, on entity creation when using dynamicCreationEntityList with valid entries, you will get invalid error message.
    Basically the error message is about missing entity from dynamic creation list where the error is missing property.

    2. Using dynamicCreationEntityList with invalid urls.
    When using Qt.resolvedUrl version, not component instance, with dynamicCreationEntityList there is no error when the url path is invalid.
    Is there a way this can be improved?

    I hope I am right with the missing error messages, could you confirm?

    #18377

    Alex
    Felgo Team

    Hi Marcin,

    thank you for the suggestions, good points.

    Could you create a minimum example project where those errors should occur and send it to support@felgo.com? This will help us to have a look at the additions faster. Thank you very much

    Cheers,
    Alex

    #18391

    Marcin

    Hi Alex,
    Email sent.

    I double checked and was wrong in one situation.
    If you put invalid url in EntityManager.dynamicCreationEntityList you get good error message, just was at the top:

    ERROR: failed to create sprite from url: file:///home/marcin/.local/share/Felgo Live Client/qml/Pldayer.qml , component.status: 3 , errorString: file:///home/marcin/.local/share/Felgo Live Client/qml/Pldayer.qml:-1 No such file or directory 

    So the only thing is better error message if you forget about setting entityContainer on EntityManager.
    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support