private ResponseConfiguration OperationFailedConfigurator(ICodec codec, ProjectionManagementMessage.OperationFailed message)
 {
     return(new ResponseConfiguration(500, "Failed", "text/plain"));
 }
 private string OperationFailedFormatter(ICodec codec, ProjectionManagementMessage.OperationFailed message)
 {
     return(message.Reason);
 }
Beispiel #3
0
 private ResponseConfiguration ConflictConfigurator(
     ICodec codec, ProjectionManagementMessage.OperationFailed message)
 {
     return(new ResponseConfiguration(409, "Conflict", "text/plain", Helper.UTF8NoBom));
 }