Error(3pm)

πŸ’– Error(3pm) πŸ’–

okay hi bestie!! so this is a page from the User Contributed Perl Documentation (that's the manual collection it lives in, iykyk) and it's all about APR::Request::Error. it's a little corner of the Perl universe, and honestly? it's giving "short but mighty." let's get into it 🌸


✨ NAME ✨

APR::Request::Error β€” bestie, it's a wrapper for libapreq2's error API. that's the whole job description. it wraps the errors, it doesn't start them. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

the way you get in is literally one line, no drama:

use APR::Request::Error;

that's it. that's the whole vibe check. she's low maintenance. ✨


🌸 DESCRIPTION 🌸

this manpage documents version 2.17 of the APR::Request::Error package. no cap. that's the version. write it down, bestie. πŸ“


πŸ‘‘ SUBROUTINES πŸ‘‘

so APR::Request::Error is derived from APR::Request and APR::Error. it's got main character energy by inheritance, literally. πŸ’œ

🌈 strerror

strerror($status)

okay so here's the tea: you hand her a numeric $status code, and she hands you back the apreq error string that goes with it. number in, words out. it's giving translator but make it error messages. πŸŽ€


πŸ’€ ERROR CONSTANTS πŸ’€

these are the icons. the whole roster. every single one of them, no skips:

πŸ”₯ GENERAL

Internal apreq error

🩸 TAINTED

Attempt to perform unsafe action with tainted data

bestie this one is the vibe check you do NOT want to fail 😭 tainted data + unsafe action = the drama we avoid.

πŸ“ BADDATA

Malformed input data

πŸ’… BADCHAR

Invalid character

🧚 BADSEQ

Invalid byte sequence

πŸ™ˆ BADATTR

Unrecognized attribute

⭐ BADHEADER

Malformed header string

🌸 NODATA

Missing input data

πŸŽ€ NOTOKEN

Expected token not present

πŸ’œ NOATTR

Missing attribute

πŸ¦‹ NOHEADER

Missing header

🌈 NOPARSER

Missing parser

πŸ‘‘ MISMATCH

Conflicting information

⚠️ OVERLIMIT

Exceeds configured maximum limit

✨ NOTEMPTY

Setting already configured


πŸ’– SEE ALSO πŸ’–

if you want more of this energy, go read these next besties:

  • APR::Request
  • APR::Error

right so here's the legal bit, and it is not a vibe to mess with, so we're keeping every word exactly as it is, bestie. periodt. do not paraphrase this. 🫢

Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

and that's the whole page!! go off, handle your errors, stay untainted πŸ’œ

this little love letter to you was served fresh from perl v5.42.3, dated 2026-08-21, and yes it's the Error(3pm) page, slay βœ¨πŸŽ€

πŸ“¦ where this page comes from