Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
src /
errors /
[ HOME SHELL ]
Name
Size
Permission
Action
errors.go
2.03
KB
-rw-r--r--
errors_test.go
1.24
KB
-rw-r--r--
example_test.go
691
B
-rw-r--r--
wrap.go
3.2
KB
-rw-r--r--
wrap_test.go
4.78
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : errors.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package errors implements functions to manipulate errors. // // The New function creates errors whose only content is a text message. // // The Unwrap, Is and As functions work on errors that may wrap other errors. // An error wraps another error if its type has the method // // Unwrap() error // // If e.Unwrap() returns a non-nil error w, then we say that e wraps w. // // Unwrap unpacks wrapped errors. If its argument's type has an // Unwrap method, it calls the method once. Otherwise, it returns nil. // // A simple way to create wrapped errors is to call fmt.Errorf and apply the %w verb // to the error argument: // // errors.Unwrap(fmt.Errorf("... %w ...", ..., err, ...)) // // returns err. // // Is unwraps its first argument sequentially looking for an error that matches the // second. It reports whether it finds a match. It should be used in preference to // simple equality checks: // // if errors.Is(err, os.ErrExist) // // is preferable to // // if err == os.ErrExist // // because the former will succeed if err wraps os.ErrExist. // // As unwraps its first argument sequentially looking for an error that can be // assigned to its second argument, which must be a pointer. If it succeeds, it // performs the assignment and returns true. Otherwise, it returns false. The form // // var perr *os.PathError // if errors.As(err, &perr) { // fmt.Println(perr.Path) // } // // is preferable to // // if perr, ok := err.(*os.PathError); ok { // fmt.Println(perr.Path) // } // // because the former will succeed if err wraps an *os.PathError. package errors // New returns an error that formats as the given text. // Each call to New returns a distinct error value even if the text is identical. func New(text string) error { return &errorString{text} } // errorString is a trivial implementation of error. type errorString struct { s string } func (e *errorString) Error() string { return e.s }
Close