Skip to content

Commit

Permalink
Adding error message format
Browse files Browse the repository at this point in the history
  • Loading branch information
silverdaz committed Oct 24, 2018
1 parent 9cbd7ac commit 80e2cee
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,16 @@ and the stable ID message would be:
"checksum" : { "type" : "sha256", "value" : "e5b844cc57f57094ea4585e235f36c78c1cd222262bb89d53c94dcb4d6b3e55d" }
}
In case of errors, Central EGA receives:

.. code-block:: json
{
"user": "john",
"filepath": "somedir/encrypted.file.c4gh",
"reason": "Some user related error, like Decryption failed: wrong key signature"
}
.. |connect| unicode:: U+21cc .. <->
.. _RabbitMQ: http://www.rabbitmq.com

0 comments on commit 80e2cee

Please sign in to comment.