core: Convert a 'failure' to 'panic' in docs