問題文
Inside an error handler, a Logger must print the short human-readable text that explains what went wrong. Which selector supplies it?
選択肢
- The description field of the error object, which holds a short statement of the problem.
- The payload, which the runtime replaces with the error text as soon as the handler is entered and before its first component runs.
- The cause field of the error object, because that is the field designed for display and the description field only holds an internal code that is not meant to be shown to operators or written into a response body.
- The errorType field, which returns the message text with both the namespace and the identifier stripped off the front.