(
qualifiedName QualifiedName,
blocking bool,
header bool,
result map[string]interface{},
err error)
| 211 | } |
| 212 | |
| 213 | func printInvocationResponse( |
| 214 | qualifiedName QualifiedName, |
| 215 | blocking bool, |
| 216 | header bool, |
| 217 | result map[string]interface{}, |
| 218 | err error) error { |
| 219 | if err == nil { |
| 220 | printInvocationMsg(qualifiedName, blocking, header, result, color.Output) |
| 221 | } else { |
| 222 | if !blocking { |
| 223 | return handleInvocationError(err, qualifiedName.GetEntityName()) |
| 224 | } else { |
| 225 | return printFailedBlockingInvocationResponse(qualifiedName, header, result, err) |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | return err |
| 230 | } |
| 231 | |
| 232 | func printFailedBlockingInvocationResponse( |
| 233 | qualifiedName QualifiedName, |
no test coverage detected