Class | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## winapi-error

This condition class is a subclass of `error`. It has one slot, `code`, with reader winapi-error-code.

A `winapi-error` is signaled on Windows when there is a Windows API error. The related `syscall-error` is signaled on UNIX/Linux systems when there is a system error and occasionally on Windows when there is a C library error.

You might see this error, for example, when there is a problem loading a DLL:

    cl-user(17): (load "foo.dll")
    ; Foreign loading foo.dll.
    Error: loading "foo.dll" resulted in error (code 193)
      "%1 is not a valid Win32 application.".
      [condition type: winapi-error]
      ...

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version