Core or SDK?
Platform/SDK
Which part? Which one?
platform/SDK
Description
I was looking for examples of how to declare a custom error. The example given for captureMessage doesn't include the additional parameters that the method takes.
Suggested Solution
Include examples for all the parameters
captureMessage(string $message, ?Severity $level = null, ?EventHint $hint = null)