We're currently building a storage extension. If something goes wrong, we can throw an exception and this will result in the publishing to fail, showing an error in the publish queue.
However, we would also like to support a case where the storage extension sends a "warning" state to the publishing queue.
I tried to find a way to do this, but couldn't find anything.
I'm wondering if this is possible/supported, or if we should find another way to do this.