Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Error for syscall.Errno #44

@andreasg123

Description

@andreasg123

I encountered an error with syscall.Errno (defined as uintptr):

var err syscall.Errno
_, herr := hashstructure.Hash(err, hashstructure.FormatV2, nil)
binary.Write: invalid type syscall.Errno

I could test for that but I'm wondering what kind of restrictions I should assume for calling hashstructure.Hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions