The "saved" signal is emitted at the end of a successful file saving.
Before gedit 3.14 this signal contained a Error parameter, and the signal was also emitted if an error occurred. To save a document, a plugin can use the commands_save_document_async function and get the result of the operation with commands_save_document_async.end.