Name
SPVM::Net::SSLeay::ERR - OpenSSL Errors
Description
Net::SSLeay::ERR class in SPVM has methods to manipulate OpenSSL Errors.
Usage
use Net::SSLeay::ERR;
Class Methods
error_string_n
static method error_string_n : void ($e : long, $buf : mutable string, $len : int = -1);
Calls error_string_n function.
Exceptions:
The buffer $buf must be defined. Otherwise an exception is thrown.
The length $len must be less than or equal to the length of the buffer $buf. Otherwise an exception is thrown.
error_string
static method error_string : string ($e : long);
Same as ""error_string_n" method, but $buf of the length 256 is created automatically.
The returned string is cut just before \0
.
See Also
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License