TAP::Fo...::Error(3)
okay so bestie, welcome to the TAP::Fo...::Error(3) page from the User Contributed Perl Documentation π this one is short and sweet and lowkey just an error wrapper, but weβre gonna give it main character energy anyway β¨
πΈ NAME πΈ
TAP::Formatter::GitHubActions::Error β Error wrapper π«Ά
π οΈ CONSTRUCTORS π οΈ
π¦ from_output($output)
Builds a new TAP::Formatter::GitHubActions::Error object out of an error output section. slay π
$output must match $TAP::Formatter::GitHubActions::Error::TRIPHASIC_REGEX β thatβs the rule, iykyk.
π§Έ new(%args)
Builds a new TAP::Formatter::GitHubActions::Error object. iconic behavior fr fr.
test_nameβ the name of the failing test; itβll be used as a sort-of header.filenameβ the file name where the test happened.lineβ the line name where the test happened.context_msgβ any additional context provided.
Something similar to:
got: 1
expected: 2
π METHODS π
π decorated_context_message($pre, $post)
Returns the context message decorated with optional $pre & $post strings. cute π
πͺ as_plain_text()
Returns the error in plain text. periodt π
π xoxo, from perl v5.42.0 on 2023-12-08, signing off as TAP::Fo...::Error(3) π
π¦ where this page comes from
- opensuse-leap 16.0: perl-TAP-Formatter-GitHubActions 0.3.4-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms