mFrame
載入中...
搜尋中...
無符合項目
ufm::lang 命名空間(Namespace)參考文件

複合項目

struct  Appendable
 資料附加介面 (Appendable) 更多...
 
struct  AutoConvert
 自動轉型模板,方便不同型別介面之間的轉換 更多...
 
struct  Cancelable
 [Interface] 可取消操作介面 更多...
 
class  Character
 字元操作工具類別 更多...
 
struct  Clock
 時鐘介面 更多...
 
struct  Closeable
 [Interface] 資源關閉介面 更多...
 
class  Data
 資料處理類別 更多...
 
struct  Executor
 提供非阻塞式執行的抽象入口 更多...
 
struct  Flushable
 [Interface] 資源刷新介面 更多...
 
class  Hashcode
 雜湊碼類別,用於封裝及處理物件雜湊碼。 更多...
 
class  HashGenerator
 雜湊產生器類別,提供雜湊值生成的多種方法 更多...
 
struct  Interface
 類別共用基礎介面 更多...
 
struct  Iterable
 [Interface] 定義可迭代集合介面 更多...
 
struct  Markable
 [Interface] 定義可標記流介面 更多...
 
class  Maths
 數學運算工具類別 更多...
 
class  Memory
 存儲資料的類別,提供動態記憶體管理功能。 更多...
 
struct  NonAssignable
 禁止複製和賦值的結構 更多...
 
struct  NonCopyable
 禁止複製的結構 更多...
 
class  NonInstantiable
 
struct  NonMoveable
 禁止移動的結構 更多...
 
class  Object
 物件基底類別 更多...
 
class  Pointer
 提供記憶體位址存取與操作功能 更多...
 
class  Pointers
 指標操作工具類別 更多...
 
struct  Readable
 [Interface] 定義資料讀取介面 更多...
 
struct  Refreshable
 [Interface] 定義可刷新物件的行為 更多...
 
class  StringFormat
 字串格式化類別,提供格式化輸入與輸出的相關方法 更多...
 
class  Strings
 字串類別,提供字串操作和記憶體管理功能 更多...
 
class  System
 系統核心入口 更多...
 
struct  Updatable
 [Interface] 定義可更新的物件介面 更多...
 

函式

void system_error (const char *message, const char *path, ufm::sys::ErrorCode code)
 處理系統錯誤並輸出錯誤資訊
 

詳細描述

Copyright (c) 2020 ZxyKira All rights reserved.

SPDX-License-Identifier: MIT

函式說明文件

◆ system_error()

void ufm::lang::system_error ( const char * message,
const char * path,
ufm::sys::ErrorCode code )
extern

處理系統錯誤並輸出錯誤資訊

此函數於系統錯誤發生時,記錄錯誤描述、來源路徑與錯誤代碼,並執行必要的處理流程。

參數
message錯誤描述字串
path錯誤發生位置(檔案或函式名稱)
code系統錯誤代碼