Dillard, Presiding Judge. Gregory Hise applied for a Georgia weapons carry license (“GWCL”), under OCGA § 16-11-129, with Thomas C. Bordeaux, Jr., a judge of the Chatham County Probate Court. Bordeaux denied the application, but the superior court granted Hise a writ of mandamus, directing issuance of the GWCL. While Bordeaux appealed, Hise filed an action for damages, alleging that (in denying the license) Bordeaux violated his fundamental right to bear arms under the United States Constitution, as well as the Georgia Constitution, and also violated a prohibition against county officials regulating firearms. Bordeaux filed a motion to dismiss for failure to state a claim, which the superior court granted. Hise now appeals that decision, but for the reasons set forth infra, we affirm. The record in this matter—which for the most part is undisputed—shows that on May 6, 2019, Hise filed an application for a GWCL with Bordeaux under OCGA § 1611129.[1] Bordeaux issued an order denying Hise’s application the same day, citing as grounds for the denial that Hise had been convicted in another state of misdemeanor assault in 1979. In response, Hise filed a mandamus action in the superior court, requesting that Bordeaux be ordered to issue the GWCL. Soon thereafter, Hise moved for summary judgment; and on October 4, 2019, the superior court issued an order granting the motion and directing Bordeaux to issue a GWCL to Hise within ten days. Bordeaux did not immediately comply, which prompted Hise to file a motion for contempt. Bordeaux then moved for reconsideration, and when the superior court denied that motion, he appealed to this Court.[2] A few weeks after Bordeaux filed his notice of appeal, on November 26, 2019, Hise filed an action against him, in both his official and individual capacities, seeking monetary damages on the grounds that (in denying the GWCL) Bordeaux violated Hise’s fundamental right to bear arms under the Second Amendment of the United States Constitution and Article I, Section I, Paragraph VIII of the Georgia Constitution, and that he also violated the prohibition in OCGA § 16-11-173 against county officials regulating firearms. Bordeaux filed an answer and a motion to dismiss for failure to state a claim, arguing that a denial of a GWCL does not constitute a violation of Hise’s fundamental right to bear arms under the United States or Georgia Constitution and, in any event, Hise’s claims are barred by the doctrines of sovereign, judicial, and official immunity. Hise filed a response to Bordeaux’s motion, and the trial court scheduled a hearing on the matter. But prior to that hearing, this Court affirmed the trial court’s earlier ruling granting Hise’s writ of mandamus.[3] Consequently, Bordeaux issued the GWCL. As a result, Hise withdrew his contempt motion but maintained his action for damages. One month later, the trial court held the hearing on Bordeaux’s motion to dismiss, which it ultimately granted. This appeal follows. In his sole enumeration of error, Hise contends generally that the trial court erred in granting Bordeaux’s motion to dismiss for failure to state a claim. But in his brief, he specifically argues—despite not separately enumerating—that all three claims in his complaint are valid and his action is not barred by any form of immunity. Accordingly, we will address each of his claims separately. This Court conducts a de novo review of a trial court’s ruling on a motion to dismiss.[4] In doing so, we are tasked with determining whether the allegations of the complaint—when construed in the light most favorable to the plaintiff, and with all doubts resolved in the plaintiff’s favor—”disclose with certainty that the plaintiff would not be entitled to relief under any state of provable facts.”[5] But importantly, we need not “adopt a party’s legal conclusions based on these facts.”[6] With these guiding principles in mind, we turn to Hise’s specific claims of errors. 1. For starters, Hise argues that by refusing to issue the GWCL after the superior court granted his writ of mandamus, Bordeaux—in his individual rather than his official capacity—violated Hise’s fundamental right to bear arms under the Second Amendment of the United States Constitution and Article I, Section I, Paragraph VIII of the Georgia Constitution. This contention lacks merit. The Second Amendment of the United States Constitution provides: “A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.” And this amendment guarantees the individual “right of lawabiding, responsible citizens to use arms in defense of hearth and home.”[7] But emphasizing that this right is not absolute, the Supreme Court of the United States held in Heller that nothing in our opinion should be taken to cast doubt on longstanding prohibitions on the possession of firearms by felons and the mentally ill, or laws forbidding the carrying of firearms in sensitive places such as schools and government buildings, or laws imposing conditions and qualifications on the commercial sale of arms.[8] The Heller Court further noted that this list of “presumptively lawful regulatory measures” is not exhaustive.[9] Similarly, the Constitution of the State of Georgia provides that the “right of the people to keep and bear arms shall not be infringed, but the General Assembly shall have power to prescribe the manner in which arms may be borne.”[10] And the Supreme Court of Georgia has also “previously interpreted this provision as permitting the State to regulate the right to carry weapons ‘to some extent’ while disallowing a law that ‘under the name of regulation, amounts in effect, to a deprivation of the constitutional right.’”[11] Here, Hise seeks monetary damages based on his claims that Bordeaux violated his fundamental right to bear arms under the United States and Georgia constitutions by refusing to issue the GWCL after the superior court granted his writ of mandamus.[12] But both of these claims of alleged constitutional violations are barred by the doctrine of judicial immunity. As the Supreme Court of Georgia has noted, the Supreme Court of the United States has “long recognized the doctrine of judicial immunity which shields judges from being sued and from being held civilly liable for damages based on federal law as a result of carrying out their judicial duties.”[13] Georgia law has also “long recognized the doctrine of judicial immunity for state law claims.”[14] Indeed, the rationale for this doctrine is quite logically that [i]f judges were personally liable for erroneous [judicial] decisions, the resulting avalanche of suits, most of them frivolous but vexatious, would provide powerful incentives for judges to avoid rendering decisions likely to provoke such suits. The resulting timidity would be hard to detect or control, and it would manifestly detract from independent and impartial adjudication. Nor are suits against judges the only available means through which litigants can protect themselves from the consequences of judicial error. Most judicial mistakes or wrongs are open to correction through ordinary mechanisms of review, which are largely free of the harmful sideeffects inevitably associated with exposing judges to personal liability.[15] Consequently, there are only “two grounds on which a judge will be denied the absolute protection of judicial immunity: (1) committing an act that is nonjudicial in nature; or (2) acting in the ‘complete absence of all jurisdiction.’”[16] And importantly, a judge is not deprived of judicial immunity “simply because [he] has allegedly acted mistakenly, maliciously or corruptly.”[17] In this matter, Hise contends—without citing any supporting case authority—that his claims are not barred by judicial immunity because Bordeaux was acting in the absence of all jurisdiction and committing a nonjudicial act by ignoring the writ of mandamus. But these contentions are without merit. First, OCGA § 16-11-129 (a) (1) explicitly provides probate judges (such as Bordeaux) with jurisdiction over the issuance of a GWCL.[18] Next, turning to the question of whether Bordeaux committed a nonjudicial act, “a court looks not to functions actually performed by that party, but to the functions that the law entitles the party to perform.”[19] Indeed, the relevant inquiry is “the nature and function of the act, not the act itself.”[20] Simply stated, we look to the particular act’s “relation to a general function normally performed by a judge.”[21] So, in order to determine whether an act is judicial in nature, a reviewing court should consider “(1) whether the act is one normally performed by judges, and (2) whether the complaining party was dealing with the judge in [his] judicial capacity.”[22] Here, determining whether to issue a GWCL under OCGA § 16-11-129 was unquestionably a normal function of a probate judge, and in seeking to obtain such a permit, Hise was unquestionably dealing with Bordeaux in his judicial capacity.[23] Attempting to distinguish Bordeaux’s actions from the explicit authority OCGA § 16-11-129 grants to probate judges, Hise argues that Bordeaux engaged in a nonjudicial act outside his jurisdiction when he refused to issue the GWCL after the superior court granted his petition for a writ of mandamus. But this argument conflates refusal with appeal. Hise cites no authority for his contention that Bordeaux could not seek an appellate court’s determination as to whether the writ of mandamus was properly issued. And regardless, given that we addressed the merits of Bordeaux’s appeal[24] (rather than dismissing it for lack of jurisdiction), that issue has already been decided against Hise.[25] Put simply, Hise disagreed with Bordeaux’s decision; but “[d]isagreement with the action taken by the judge . . . does not justify depriving that judge of his immunity.”[26] And looking at the nature of the function at issue, Bordeaux’s appeal of the grant of the writ of mandamus was certainly part and parcel of the judicial process necessary to ultimately resolve whether he was required to issue Hise a GWCL.[27] Indeed, it would be difficult to find a case better exemplifying the importance of judicial immunity than this one, as Hise has attempted to elevate his disagreement with a judicial decision into a lawsuit for retrospective monetary damages, despite the judge’s initial error being corrected by the appellate process.[28] Given these circumstances, Hise’s claims that Bordeaux violated his fundamental right to bear arms under the United States and Georgia constitutions by refusing to issue the GWCL after the superior court granted his writ of mandamus are barred by the doctrine of judicial immunity.[29] 2. Hise further contends that by refusing to issue the GWCL after the superior court granted his writ of mandamus, Bordeaux—in his individual and official capacity—also violated the prohibition in OCGA § 16-11-173 against county officials regulating firearms. First, in light of our holding in Division 1, supra, Hise’s claim that Bordeaux violated the statute in his individual capacity is barred by the doctrine of judicial immunity.[30] Additionally, the trial court did not err in dismissing Hise’s claim that Bordeaux violated the statute in his official capacity. It is well settled under Georgia law that “suits against state officers in their official capacities amount to suits against the State itself and are barred by sovereign immunity.”[31] And the Supreme Court of Georgia has held that the doctrine “extend[s] not only to the State itself, but also to counties.”[32] Furthermore, county officers sued in “their official capacities—since a suit against a county officer in his official capacity is a suit against the county itself—enjoy the same sovereign immunity.”[33] Importantly, sovereign immunity can only “be waived by the Constitution itself or the General Assembly, and as to the General Assembly, only by way of a law that specifically provides that sovereign immunity is thereby waived and the extent of such waiver.”[34] And in this case, Hise argues that in refusing to issue the GWCL after the superior court granted his writ of mandamus, Bordeaux violated OCGA § 16-11-173 (b) (1) (B), which provides: Except as provided in subsection (c) of this Code section, no county or municipal corporation, by zoning, by ordinance or resolution, or by any other means, nor any agency, board, department, commission, political subdivision, school district, or authority of this state, other than the General Assembly, by rule or regulation or by any other means shall regulate in any manner . . . [t]he possession, ownership, transport, carrying, transfer, sale, purchase, licensing, or registration of firearms or other weapons or components of firearms or other weapons . . . . The statute also establishes a private right of action, which includes the potential for the recovery of actual damages, equitable relief, and any other relief a court may deem proper.[35] And given this language, Hise asserts that sovereign immunity has been waived. Nevertheless, even if we were to find that OCGA § 16-11-173 (b) (1) and (g) evince a waiver of sovereign immunity as to Bordeaux’s actions in his official capacity, Hise’s claim still fails. As previously noted, OCGA § 16-11-173 provides that no authority enumerated in the statute shall by way of “rule or regulation or by any other means . . . regulate in any manner” the “possession, ownership, transport, carrying, transfer, sale, purchase, licensing, or registration of firearms or other weapons or components of firearms or other weapons,” and the only authority which may regulate such activity is the General Assembly.[36] Regardless, there is no evidence Bordeaux attempted to regulate the possession, transport, or carrying of firearms in any manner. Rather, the only rule or regulation at issue was Bordeaux’s determination as to whether Hise was entitled to a GWCL under OCGA § 16-11-129, which is a statute passed by the General Assembly. As a result, Bordeaux merely construed that statute and initially concluded Hise was not entitled to a GWCL. But such a construction, even after it was determined to be in error, does not amount to regulation. Indeed, were it otherwise and we followed Hise’s logic, every ruling by a probate judge on a GWCL application under OCGA § 16-11-129—whether he granted it, properly denied it, or erroneously denied it—would constitute regulation in contravention of OCGA § 16-11-173. We do not agree with the implication that the General Assembly would pass a statute that runs afoul of another statute every time the former was applied.[37] Accordingly, Bordeaux did not violate OCGA § 16-11-173 (b) (1), even if the statute does possibly grant a waiver of sovereign immunity in other contexts (a question we need not reach in this appeal).[38] For all these reasons, we affirm the trial court’s ruling to grant Bordeaux’s motion to dismiss.[39] Judgment affirmed. Mercier and Markle, JJ., concur.